Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -22,12 +22,18 @@ def create_playground_footer():
|
|
22 |
def create_tabs_header(topic, description, references):
|
23 |
with gr.Row():
|
24 |
with gr.Column(scale=4):
|
25 |
-
reference_list = "> " + "\n> ".join(references)
|
26 |
-
content = f"## {topic}\n"
|
27 |
-
content += f"### {description}\n"
|
28 |
-
for ref in references:
|
29 |
-
|
30 |
-
gr.Markdown(content)
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
|
32 |
with gr.Column(scale=1):
|
33 |
test_pipeline_button = gr.Button(value="Process")
|
|
|
22 |
def create_tabs_header(topic, description, references):
|
23 |
with gr.Row():
|
24 |
with gr.Column(scale=4):
|
25 |
+
# reference_list = "> " + "\n> ".join(references)
|
26 |
+
# content = f"## {topic}\n"
|
27 |
+
# content += f"### {description}\n"
|
28 |
+
# for ref in references:
|
29 |
+
# content += f"> {ref}\n"
|
30 |
+
# gr.Markdown(content)
|
31 |
+
gr.Markdown("""
|
32 |
+
## Image Captioning
|
33 |
+
### Upload a image, check what AI understand and have vision on it.
|
34 |
+
> category: Image-to-Text
|
35 |
+
> model: [Salesforce/blip-image-captioning-base](https://huggingface.co/Salesforce/blip-image-captioning-base)
|
36 |
+
""")
|
37 |
|
38 |
with gr.Column(scale=1):
|
39 |
test_pipeline_button = gr.Button(value="Process")
|