Maaz66 commited on
Commit
6806000
1 Parent(s): 8422f05

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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()