Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -105,6 +105,9 @@ def chatbot(input, choice):
|
|
105 |
result = "".join(history).strip() #* working!
|
106 |
yield result
|
107 |
|
|
|
|
|
|
|
108 |
except Exception as e:
|
109 |
print(e)
|
110 |
messages = [{"role": "system", "content": "你是一个专业和友好的AI助手。"},]
|
|
|
105 |
result = "".join(history).strip() #* working!
|
106 |
yield result
|
107 |
|
108 |
+
messages = [{"role": "system", "content": "你是一个专业和友好的AI助手。"},]
|
109 |
+
|
110 |
+
|
111 |
except Exception as e:
|
112 |
print(e)
|
113 |
messages = [{"role": "system", "content": "你是一个专业和友好的AI助手。"},]
|