Spaces:
Running
Running
Tim Seufert
commited on
Commit
·
01a7203
1
Parent(s):
74adf7b
update
Browse files
app.py
CHANGED
@@ -50,8 +50,8 @@ def respond(message, image, chat_history):
|
|
50 |
return "", chat_history.append((message, f"Error: {str(e)}"))
|
51 |
|
52 |
# Create Gradio interface
|
53 |
-
with gr.
|
54 |
-
chatbot = gr.
|
55 |
msg = gr.Textbox()
|
56 |
img = gr.Image(type="filepath")
|
57 |
clear = gr.ClearButton([msg, img, chatbot])
|
|
|
50 |
return "", chat_history.append((message, f"Error: {str(e)}"))
|
51 |
|
52 |
# Create Gradio interface
|
53 |
+
with gr.Blocks() as demo:
|
54 |
+
chatbot = gr.ChatInterface()
|
55 |
msg = gr.Textbox()
|
56 |
img = gr.Image(type="filepath")
|
57 |
clear = gr.ClearButton([msg, img, chatbot])
|