Spaces:
Sleeping
Sleeping
Commit
·
15105c5
1
Parent(s):
964f8bb
Update app.py
Browse files
app.py
CHANGED
@@ -83,7 +83,7 @@ with gr.Blocks() as demo:
|
|
83 |
with gr.Column(scale=1):
|
84 |
api_key_box = gr.Textbox(label="OpenAI API Key", info="OpenAI API Key", lines=1, value="")
|
85 |
chatbot = gr.Chatbot()
|
86 |
-
msg = gr.Textbox()
|
87 |
clear = gr.Button("Clear")
|
88 |
msg.submit(respond, [msg, chatbot, api_key_box], [msg, chatbot, html, htmlj])
|
89 |
clear.click(clear_fn, None, chatbot, queue=False)
|
|
|
83 |
with gr.Column(scale=1):
|
84 |
api_key_box = gr.Textbox(label="OpenAI API Key", info="OpenAI API Key", lines=1, value="")
|
85 |
chatbot = gr.Chatbot()
|
86 |
+
msg = gr.Textbox(label="Chat")
|
87 |
clear = gr.Button("Clear")
|
88 |
msg.submit(respond, [msg, chatbot, api_key_box], [msg, chatbot, html, htmlj])
|
89 |
clear.click(clear_fn, None, chatbot, queue=False)
|