Update app.py
Browse files
app.py
CHANGED
@@ -119,8 +119,8 @@ def bot_streaming(message, history):
|
|
119 |
yield generated_text_without_prompt
|
120 |
|
121 |
|
122 |
-
demo = gr.ChatInterface(fn=bot_streaming, title="🚀nanoLLaVA", examples=[{"text": "
|
123 |
-
{"text": "
|
124 |
description="Try [nanoLLaVA](https://huggingface.co/qnguyen3/nanoLLaVA) in this demo. Built on top of [Quyen-SE-v0.1](https://huggingface.co/vilm/Quyen-SE-v0.1) (Qwen1.5-0.5B) and [Google SigLIP-400M](https://huggingface.co/google/siglip-so400m-patch14-384). Upload an image and start chatting about it, or simply try one of the examples below. If you don't upload an image, you will receive an error.",
|
125 |
stop_btn="Stop Generation", multimodal=True)
|
126 |
demo.launch(debug=True)
|
|
|
119 |
yield generated_text_without_prompt
|
120 |
|
121 |
|
122 |
+
demo = gr.ChatInterface(fn=bot_streaming, title="🚀nanoLLaVA", examples=[{"text": "Describe the image in detail", "files":["./demo_1.jpg"]},
|
123 |
+
{"text": "What does the text say?", "files":["./demo_2.png"]}],
|
124 |
description="Try [nanoLLaVA](https://huggingface.co/qnguyen3/nanoLLaVA) in this demo. Built on top of [Quyen-SE-v0.1](https://huggingface.co/vilm/Quyen-SE-v0.1) (Qwen1.5-0.5B) and [Google SigLIP-400M](https://huggingface.co/google/siglip-so400m-patch14-384). Upload an image and start chatting about it, or simply try one of the examples below. If you don't upload an image, you will receive an error.",
|
125 |
stop_btn="Stop Generation", multimodal=True)
|
126 |
demo.launch(debug=True)
|