Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -29,9 +29,8 @@ def predict(message, history):
|
|
29 |
partial_message = partial_message + chunk['choices'][0]['delta']['content']
|
30 |
yield partial_message
|
31 |
|
32 |
-
gr.ChatInterface(predict,
|
33 |
textbox=gr.Textbox(placeholder="Ask me a yes or no question", container=False, scale=7),
|
34 |
-
title="
|
35 |
description="Ask Yes Man any question",
|
36 |
-
|
37 |
-
examples=["Hello", "Am I cool?", "Are tomatoes vegetables?"],).queue().launch(auth=(USER, PASS))
|
|
|
29 |
partial_message = partial_message + chunk['choices'][0]['delta']['content']
|
30 |
yield partial_message
|
31 |
|
32 |
+
gr.ChatInterface(predict,
|
33 |
textbox=gr.Textbox(placeholder="Ask me a yes or no question", container=False, scale=7),
|
34 |
+
title="欢迎使用AI机器人",
|
35 |
description="Ask Yes Man any question",
|
36 |
+
examples=["你是谁?", "Am I cool?", "Are tomatoes vegetables?"],).queue().launch(auth=(USER, PASS))
|
|