dwb2023 commited on
Commit
82cce96
β€’
1 Parent(s): b8103c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
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("# Hugging Face Space / Model Repository Content Extractor")
38
- url_input = gr.Textbox(label="https:// URL of Repository", placeholder="Enter the repository URL here OR select an example below...")
 
 
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