Spaces:
Running
Running
Update app.py
Browse files
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],
|