Spaces:
Running
on
Zero
Running
on
Zero
macadeliccc
commited on
Commit
•
29bfd87
1
Parent(s):
9ecda37
test
Browse files
app.py
CHANGED
@@ -58,9 +58,8 @@ with gr.Blocks() as app:
|
|
58 |
output_text = gr.Textbox(label="ochat Response", interactive=False)
|
59 |
|
60 |
def update_output(input_message):
|
61 |
-
|
62 |
-
output_text.update(value=response)
|
63 |
|
64 |
-
submit_button.click(fn=update_output, inputs=[input_text], outputs=[])
|
65 |
|
66 |
app.launch()
|
|
|
58 |
output_text = gr.Textbox(label="ochat Response", interactive=False)
|
59 |
|
60 |
def update_output(input_message):
|
61 |
+
return chat_with_ochat(input_message)
|
|
|
62 |
|
63 |
+
submit_button.click(fn=update_output, inputs=[input_text], outputs=[output_text])
|
64 |
|
65 |
app.launch()
|