Spaces:
Running
Running
Tim Seufert
commited on
Commit
·
ac12688
1
Parent(s):
a08e0b6
update
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ with gr.Blocks() as demo:
|
|
55 |
msg = gr.Textbox()
|
56 |
img = gr.Image(type="filepath")
|
57 |
clear = gr.ClearButton([msg, img, chatbot])
|
58 |
-
|
59 |
# Set up message submission
|
60 |
msg.submit(respond, [msg, img, chatbot], [msg, chatbot])
|
61 |
|
@@ -78,5 +78,5 @@ with gr.Blocks() as demo:
|
|
78 |
#title="SimplestMachine",
|
79 |
#description="A simple chatbot interface powered by Cohere.",
|
80 |
#allow_screenshot=True,
|
81 |
-
|
82 |
#theme="huggingface",
|
|
|
55 |
msg = gr.Textbox()
|
56 |
img = gr.Image(type="filepath")
|
57 |
clear = gr.ClearButton([msg, img, chatbot])
|
58 |
+
allow_file_upload=True,
|
59 |
# Set up message submission
|
60 |
msg.submit(respond, [msg, img, chatbot], [msg, chatbot])
|
61 |
|
|
|
78 |
#title="SimplestMachine",
|
79 |
#description="A simple chatbot interface powered by Cohere.",
|
80 |
#allow_screenshot=True,
|
81 |
+
allow_file_upload=True,
|
82 |
#theme="huggingface",
|