Update app.py
Browse files
app.py
CHANGED
|
@@ -62,7 +62,7 @@ with gr.Blocks(css="#chatbot{height:300px} .overflow-y-auto{height:500px}") as d
|
|
| 62 |
placeholder="Enter text and press enter, or upload an image",
|
| 63 |
).style(container=False)
|
| 64 |
with gr.Column(scale=0.15, min_width=0):
|
| 65 |
-
btn = gr.UploadButton("
|
| 66 |
|
| 67 |
txt_msg = txt.submit(answer, [txt, state], chatbot, state, queue=False).then(
|
| 68 |
lambda x: chatbot.add(*x),
|
|
|
|
| 62 |
placeholder="Enter text and press enter, or upload an image",
|
| 63 |
).style(container=False)
|
| 64 |
with gr.Column(scale=0.15, min_width=0):
|
| 65 |
+
btn = gr.UploadButton("📁", file_types=["image", "video", "audio"])
|
| 66 |
|
| 67 |
txt_msg = txt.submit(answer, [txt, state], chatbot, state, queue=False).then(
|
| 68 |
lambda x: chatbot.add(*x),
|