Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -87,6 +87,15 @@ def predict(inputs, top_p, temperature, openai_api_key, chat_counter, chatbot=[]
|
|
| 87 |
yield chat, history, chat_counter # resembles {chatbot: chat, state: history}
|
| 88 |
|
| 89 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
|
| 91 |
def reset_textbox():
|
| 92 |
return gr.update(value='')
|
|
|
|
| 87 |
yield chat, history, chat_counter # resembles {chatbot: chat, state: history}
|
| 88 |
|
| 89 |
|
| 90 |
+
<!DOCTYPE html>
|
| 91 |
+
<html>
|
| 92 |
+
<head>
|
| 93 |
+
<title>ChatGPT 3.5 - 查特AI机器人</title>
|
| 94 |
+
</head>
|
| 95 |
+
<body>
|
| 96 |
+
<!-- 在此添加其他HTML元素和代码 -->
|
| 97 |
+
</body>
|
| 98 |
+
</html>
|
| 99 |
|
| 100 |
def reset_textbox():
|
| 101 |
return gr.update(value='')
|