merve HF staff commited on
Commit
9fb5714
1 Parent(s): f1f9135

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -110,12 +110,13 @@ def bot_streaming(message, history):
110
 
111
 
112
  demo = gr.ChatInterface(fn=bot_streaming, title="LLaVA Interleave", examples=[
113
- {"text": "What are these cats doing?", "files":["./cats.mp4"]},
114
  {"text": "The input contains two videos, are the cats in this video and this video doing the same thing?", "files":["./cats_1.mp4", "./cats_2.mp4"]},
115
- {"text": "What is on the flower?", "files":["./bee.jpg"]},
116
- {"text": "There are two images in the input. What is the relationship between this image and this image?", "files":["./bee.jpg", "./depth-bee.png"]},
 
 
117
  {"text": "How to make this pastry?", "files":["./baklava.png"]}],
118
  textbox=gr.MultimodalTextbox(file_count="multiple"),
119
- description="Try [LLaVA Interleave](https://huggingface.co/docs/transformers/main/en/model_doc/llava) in this demo (more specifically, the [Qwen-1.5-7B variant](https://huggingface.co/llava-hf/llava-interleave-qwen-7b-hf)). Upload an image or a video, 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. ",
120
  stop_btn="Stop Generation", multimodal=True)
121
  demo.launch(debug=True)
 
110
 
111
 
112
  demo = gr.ChatInterface(fn=bot_streaming, title="LLaVA Interleave", examples=[
 
113
  {"text": "The input contains two videos, are the cats in this video and this video doing the same thing?", "files":["./cats_1.mp4", "./cats_2.mp4"]},
114
+ {"text": "There are two images in the input. What is the relationship between this image and this image?", "files":["./bee.jpg", "./depth-bee.png"]},
115
+ {"text": "What are these cats doing?", "files":["./cats.mp4"]},
116
+
117
+ {"text": "What is on the flower?", "files":["./bee.jpg"]},
118
  {"text": "How to make this pastry?", "files":["./baklava.png"]}],
119
  textbox=gr.MultimodalTextbox(file_count="multiple"),
120
+ description="Try [LLaVA Interleave](https://huggingface.co/docs/transformers/main/en/model_doc/llava) in this demo (more specifically, the [Qwen-1.5-0.5B variant](https://huggingface.co/llava-hf/llava-interleave-qwen-7b-hf)). Upload an image or a video, 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. ",
121
  stop_btn="Stop Generation", multimodal=True)
122
  demo.launch(debug=True)