Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -57,6 +57,6 @@ with block:
|
|
57 |
message = gr.Textbox(placeholder=prompt)
|
58 |
state = gr.State()
|
59 |
submit = gr.Button("SEND")
|
60 |
-
submit.click(chatgpt_clone, inputs=[message, state], outputs=[chatbot, state])
|
61 |
|
62 |
block.launch()
|
|
|
57 |
message = gr.Textbox(placeholder=prompt)
|
58 |
state = gr.State()
|
59 |
submit = gr.Button("SEND")
|
60 |
+
submit.click(chatgpt_clone, inputs=[message, state], outputs=[chatbot, state],api_name=True)
|
61 |
|
62 |
block.launch()
|