Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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)
|