Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -48,8 +48,8 @@ def bot_streaming(message, history):
|
|
48 |
yield generated_text_without_prompt
|
49 |
|
50 |
|
51 |
-
demo = gr.ChatInterface(fn=bot_streaming, title="LLaVA NeXT
|
52 |
{"text": "How to make this pastry?", "files":["./baklava.png"]}],
|
53 |
-
description="Try [LLaVA NeXT](https://huggingface.co/docs/transformers/main/en/model_doc/llava_next) in this demo (more specifically, the [Mistral-7B variant](https://huggingface.co/llava-hf/llava-v1.6-mistral-7b-hf)). Upload an image and start chatting about it, or simply try one of the examples below.",
|
54 |
stop_btn="Stop Generation", multimodal=True)
|
55 |
demo.launch(debug=True)
|
|
|
48 |
yield generated_text_without_prompt
|
49 |
|
50 |
|
51 |
+
demo = gr.ChatInterface(fn=bot_streaming, title="LLaVA NeXT", examples=[{"text": "What is on the flower?", "files":["./bee.jpg"]},
|
52 |
{"text": "How to make this pastry?", "files":["./baklava.png"]}],
|
53 |
+
description="Try [LLaVA NeXT](https://huggingface.co/docs/transformers/main/en/model_doc/llava_next) in this demo (more specifically, the [Mistral-7B variant](https://huggingface.co/llava-hf/llava-v1.6-mistral-7b-hf)). 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.",
|
54 |
stop_btn="Stop Generation", multimodal=True)
|
55 |
demo.launch(debug=True)
|