Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ with app:
|
|
52 |
],
|
53 |
inputs=url_input
|
54 |
)
|
55 |
-
output_display = gr.Textbox(label="Extracted Repository Content", show_copy_button=True, lines=20, placeholder="Repository content will be extracted here...\n\nMetadata is captured for all files, but text content provided only for files less than
|
56 |
extract_button = gr.Button("Extract Content")
|
57 |
extract_button.click(fn=extract_and_display, inputs=url_input, outputs=output_display)
|
58 |
|
@@ -73,7 +73,7 @@ with app:
|
|
73 |
|
74 |
gr.Markdown("### Filter and Selector Options")
|
75 |
file_type_filter = gr.CheckboxGroup(label="File Types", choices=[".txt", ".py", ".md", ".json", ".yaml", ".csv"])
|
76 |
-
file_size_slider = gr.Slider(label="File Size Limit (KB)", minimum=0, maximum=1024, value=
|
77 |
intelligent_retrieval_checkbox = gr.Checkbox(label="Enable Intelligent Retrieval")
|
78 |
|
79 |
non_hf_extract_button.click(
|
|
|
52 |
],
|
53 |
inputs=url_input
|
54 |
)
|
55 |
+
output_display = gr.Textbox(label="Extracted Repository Content", show_copy_button=True, lines=20, placeholder="Repository content will be extracted here...\n\nMetadata is captured for all files, but text content provided only for files less than 16 kb\n\n\n\nReview and search through the content here OR simply copy it for offline analysis!!. 🤖")
|
56 |
extract_button = gr.Button("Extract Content")
|
57 |
extract_button.click(fn=extract_and_display, inputs=url_input, outputs=output_display)
|
58 |
|
|
|
73 |
|
74 |
gr.Markdown("### Filter and Selector Options")
|
75 |
file_type_filter = gr.CheckboxGroup(label="File Types", choices=[".txt", ".py", ".md", ".json", ".yaml", ".csv"])
|
76 |
+
file_size_slider = gr.Slider(label="File Size Limit (KB)", minimum=0, maximum=1024, value=16, step=1)
|
77 |
intelligent_retrieval_checkbox = gr.Checkbox(label="Enable Intelligent Retrieval")
|
78 |
|
79 |
non_hf_extract_button.click(
|