Spaces:
Running
on
Zero
Running
on
Zero
MaziyarPanahi
commited on
Commit
•
3c073e6
1
Parent(s):
cdaf5e3
Update app.py (#19)
Browse files- Update app.py (edcfc005a08943404df5811ea8b3a453e037d0a7)
app.py
CHANGED
@@ -63,7 +63,7 @@ def bot_streaming(message, history):
|
|
63 |
yield generated_text_without_prompt
|
64 |
|
65 |
|
66 |
-
demo = gr.ChatInterface(fn=bot_streaming,
|
67 |
{"text": "How to make this pastry?", "files":["./baklava.png"]}],
|
68 |
description="Try [LLaVA Llama-3-8B](https://huggingface.co/xtuner/llava-llama-3-8b-v1_1-transformers). 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.",
|
69 |
stop_btn="Stop Generation", multimodal=True)
|
|
|
63 |
yield generated_text_without_prompt
|
64 |
|
65 |
|
66 |
+
demo = gr.ChatInterface(fn=bot_streaming, fill_height=True, title="LLaVA Llama-3-8B", examples=[{"text": "What is on the flower?", "files":["./bee.jpg"]},
|
67 |
{"text": "How to make this pastry?", "files":["./baklava.png"]}],
|
68 |
description="Try [LLaVA Llama-3-8B](https://huggingface.co/xtuner/llava-llama-3-8b-v1_1-transformers). 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.",
|
69 |
stop_btn="Stop Generation", multimodal=True)
|