han1997 commited on
Commit
9ca6512
·
verified ·
1 Parent(s): f8c3e94

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -76,7 +76,5 @@ demo = gr.ChatInterface(fn=bot_streaming,
76
  gr.Slider(1, 2048, value=256, step=1, label="Max New Tokens")],
77
  title="Cobra",
78
  description="Try [Cobra](https://huggingface.co/papers/2403.14520) in this demo. Upload an image and start chatting about it.",
79
- stop_btn="Stop Generation", multimodal=True,
80
- examples=[{"text": "Describe this image", "files":["./cobra.png"]},
81
- {"text": "Describe this image in detail", "files":["./sim.jpeg"]}])
82
  demo.launch(debug=True)
 
76
  gr.Slider(1, 2048, value=256, step=1, label="Max New Tokens")],
77
  title="Cobra",
78
  description="Try [Cobra](https://huggingface.co/papers/2403.14520) in this demo. Upload an image and start chatting about it.",
79
+ stop_btn="Stop Generation", multimodal=True)
 
 
80
  demo.launch(debug=True)