Spaces:
Runtime error
Runtime error
Harshad Bhandwaldar
commited on
Commit
·
2612753
1
Parent(s):
8cc2b01
model added
Browse files
app.py
CHANGED
@@ -85,6 +85,6 @@ with block:
|
|
85 |
message = gr.Textbox(placeholder=prompt)
|
86 |
state = gr.State()
|
87 |
submit = gr.Button("SEND")
|
88 |
-
submit.click(chatbot_response, inputs=
|
89 |
|
90 |
block.launch(debug = True)
|
|
|
85 |
message = gr.Textbox(placeholder=prompt)
|
86 |
state = gr.State()
|
87 |
submit = gr.Button("SEND")
|
88 |
+
submit.click(chatbot_response, inputs=message, outputs=[chatbot, state])
|
89 |
|
90 |
block.launch(debug = True)
|