Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -180,15 +180,15 @@ txt = gr.Textbox(
|
|
| 180 |
)
|
| 181 |
|
| 182 |
|
| 183 |
-
# title_markdown = ("""
|
| 184 |
-
# # llava: Exploring The Design Space for Multimodal LLMs with Mixture of Encoders
|
| 185 |
-
# [[Code](https://github.com/NVlabs/llava)] [[Model](https://huggingface.co/NVllava)] | 📚 [[Arxiv](https://arxiv.org/pdf/2408.15998)]]
|
| 186 |
-
# """)
|
| 187 |
-
|
| 188 |
title_markdown = ("""
|
| 189 |
# Florence-llama
|
|
|
|
| 190 |
""")
|
| 191 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 192 |
tos_markdown = ("""
|
| 193 |
### Terms of use
|
| 194 |
By using this service, users are required to agree to the following terms:
|
|
@@ -238,6 +238,8 @@ with gr.Blocks(title="llava", theme=gr.themes.Default(), css=block_css) as demo:
|
|
| 238 |
gr.Examples(examples=[
|
| 239 |
[f"{cur_dir}/assets/animal-compare.png", "Are these two pictures showing the same kind of animal?"],
|
| 240 |
[f"{cur_dir}/assets/funny_image.jpeg", "Why this image funny?"],
|
|
|
|
|
|
|
| 241 |
[f"{cur_dir}/assets/health-insurance.png", "Under which circumstances do I need to be enrolled in mandatory health insurance if I am an international student?"],
|
| 242 |
], inputs=[imagebox, textbox], cache_examples=False)
|
| 243 |
|
|
|
|
| 180 |
)
|
| 181 |
|
| 182 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 183 |
title_markdown = ("""
|
| 184 |
# Florence-llama
|
| 185 |
+
[[Code](TBD)] [[Model](TBD)] | 📚 [[Arxiv](TBD)]]
|
| 186 |
""")
|
| 187 |
|
| 188 |
+
# title_markdown = ("""
|
| 189 |
+
# # Florence-llama
|
| 190 |
+
# """)
|
| 191 |
+
|
| 192 |
tos_markdown = ("""
|
| 193 |
### Terms of use
|
| 194 |
By using this service, users are required to agree to the following terms:
|
|
|
|
| 238 |
gr.Examples(examples=[
|
| 239 |
[f"{cur_dir}/assets/animal-compare.png", "Are these two pictures showing the same kind of animal?"],
|
| 240 |
[f"{cur_dir}/assets/funny_image.jpeg", "Why this image funny?"],
|
| 241 |
+
[f"{cur_dir}/assets/leasing-apartment.png", "I don't have any 3rd party renter's insurance now. Do I need to get one for myself?"]
|
| 242 |
+
[f"{cur_dir}/assets/cat.png", "What's kind of cat in the picture?"]
|
| 243 |
[f"{cur_dir}/assets/health-insurance.png", "Under which circumstances do I need to be enrolled in mandatory health insurance if I am an international student?"],
|
| 244 |
], inputs=[imagebox, textbox], cache_examples=False)
|
| 245 |
|