Spaces:
Runtime error
Runtime error
Commit
·
32439b0
1
Parent(s):
6ba5e8d
Update app.py
Browse files
app.py
CHANGED
@@ -19,9 +19,9 @@ bot = ChatCompletion(api_key=api_key)
|
|
19 |
with gr.Blocks(title=args.title) as demo:
|
20 |
chatbot = gr.Chatbot(show_label=False)
|
21 |
msg = gr.TextArea(show_label=False, placeholder=args.welcome)
|
22 |
-
send_btn = gr.Button('
|
23 |
-
retry_btn = gr.Button('
|
24 |
-
reset_btn = gr.Button('
|
25 |
|
26 |
def send(user_message, history):
|
27 |
if not user_message:
|
|
|
19 |
with gr.Blocks(title=args.title) as demo:
|
20 |
chatbot = gr.Chatbot(show_label=False)
|
21 |
msg = gr.TextArea(show_label=False, placeholder=args.welcome)
|
22 |
+
send_btn = gr.Button('发送')
|
23 |
+
retry_btn = gr.Button('重试')
|
24 |
+
reset_btn = gr.Button('清空')
|
25 |
|
26 |
def send(user_message, history):
|
27 |
if not user_message:
|