Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def create_tabs_header(topic, descriptions):
|
|
24 |
with gr.Column(scale=4):
|
25 |
gr.Markdown(f"## {topic}")
|
26 |
for description in descriptions:
|
27 |
-
gr.Markdown(f"
|
28 |
|
29 |
with gr.Column(scale=1):
|
30 |
test_pipeline_button = gr.Button(value="Process")
|
@@ -36,9 +36,8 @@ with playground:
|
|
36 |
with gr.TabItem("Image"):
|
37 |
|
38 |
topic = "Image Captioning"
|
39 |
-
descriptions = ["Image-to-Text",
|
40 |
-
"model
|
41 |
-
"[https://huggingface.co/Salesforce/blip-image-captioning-base](https://huggingface.co/Salesforce/blip-image-captioning-base)"]
|
42 |
image_pipeline_button = create_tabs_header(topic, descriptions)
|
43 |
|
44 |
with gr.Row(visible=True) as use_pipeline:
|
|
|
24 |
with gr.Column(scale=4):
|
25 |
gr.Markdown(f"## {topic}")
|
26 |
for description in descriptions:
|
27 |
+
gr.Markdown(f"> {description}")
|
28 |
|
29 |
with gr.Column(scale=1):
|
30 |
test_pipeline_button = gr.Button(value="Process")
|
|
|
36 |
with gr.TabItem("Image"):
|
37 |
|
38 |
topic = "Image Captioning"
|
39 |
+
descriptions = ["category: Image-to-Text",
|
40 |
+
"model: '[Salesforce/blip-image-captioning-base](https://huggingface.co/Salesforce/blip-image-captioning-base)'"]
|
|
|
41 |
image_pipeline_button = create_tabs_header(topic, descriptions)
|
42 |
|
43 |
with gr.Row(visible=True) as use_pipeline:
|