Eriberto commited on
Commit
6bb4cab
·
1 Parent(s): 6aa1fbc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -293,7 +293,7 @@ with gr.Blocks(title='Talk to chatGPT') as demo:
293
  rounded=(True, True, True, True),
294
  width=100
295
  )
296
- api = gr.State(value=get_api())
297
  submit_btn.click(fn=chat,
298
  inputs=[api, prompt_input0, prompt_input1, chat_radio, chat_history],
299
  outputs=[api, chatbot, prompt_input1, chat_history],
 
293
  rounded=(True, True, True, True),
294
  width=100
295
  )
296
+ #api = gr.State(value=get_api())
297
  submit_btn.click(fn=chat,
298
  inputs=[api, prompt_input0, prompt_input1, chat_radio, chat_history],
299
  outputs=[api, chatbot, prompt_input1, chat_history],