MaziyarPanahi commited on
Commit
0be6d07
1 Parent(s): 6c67d55

Update app.py (#17)

Browse files

- Update app.py (4550aca7476ffb3ab51bf159a896d48a2f663f96)

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ def bot_streaming(message, history):
64
 
65
 
66
  with gr.Blocks as demo:
67
- chatbot = gr.ChatInterface(fn=bot_streaming, title="LLaVA Llama-3-8B", examples=[{"text": "What is on the flower?", "files":["./bee.jpg"]},
68
  {"text": "How to make this pastry?", "files":["./baklava.png"]}],
69
  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.",
70
  stop_btn="Stop Generation", multimodal=True)
 
64
 
65
 
66
  with gr.Blocks as demo:
67
+ chatbot = gr.ChatInterface(fn=bot_streaming, height=600, title="LLaVA Llama-3-8B", examples=[{"text": "What is on the flower?", "files":["./bee.jpg"]},
68
  {"text": "How to make this pastry?", "files":["./baklava.png"]}],
69
  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.",
70
  stop_btn="Stop Generation", multimodal=True)