qnguyen3 commited on
Commit
41f4f9d
1 Parent(s): a89ff73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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": "What is on the flower?", "files":["./bee.jpg"]},
123
- {"text": "How to make this pastry?", "files":["./baklava.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)
 
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)