Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -34,8 +34,10 @@ def extract_and_display(url):
|
|
34 |
app = gr.Blocks(theme="sudeepshouche/minimalist")
|
35 |
|
36 |
with app:
|
37 |
-
gr.Markdown("#
|
38 |
-
|
|
|
|
|
39 |
url_examples = gr.Examples(
|
40 |
examples=[
|
41 |
["https://huggingface.co/spaces/big-vision/paligemma-hf"],
|
@@ -45,8 +47,8 @@ with app:
|
|
45 |
],
|
46 |
inputs=url_input
|
47 |
)
|
48 |
-
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 32 kb\n\n\n\nReview and search through the content here OR simply copy it for offline analysis!!. π€")
|
49 |
-
extract_button = gr.Button("Extract Content")
|
50 |
|
51 |
extract_button.click(fn=extract_and_display, inputs=url_input, outputs=output_display)
|
52 |
|
|
|
34 |
app = gr.Blocks(theme="sudeepshouche/minimalist")
|
35 |
|
36 |
with app:
|
37 |
+
gr.Markdown("# VectorSpace Explorer")
|
38 |
+
gr.Markdown("**Unleash the power of AI to explore Hugging Face repositories.**")
|
39 |
+
|
40 |
+
url_input = gr.Textbox(label="π Repository URL", placeholder="Enter the repository URL here OR select an example below...")
|
41 |
url_examples = gr.Examples(
|
42 |
examples=[
|
43 |
["https://huggingface.co/spaces/big-vision/paligemma-hf"],
|
|
|
47 |
],
|
48 |
inputs=url_input
|
49 |
)
|
50 |
+
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 32 kb\n\n\n\nReview and search through the content here OR simply copy it for offline analysis!!. π€")
|
51 |
+
extract_button = gr.Button("π Extract Content")
|
52 |
|
53 |
extract_button.click(fn=extract_and_display, inputs=url_input, outputs=output_display)
|
54 |
|