fix
Browse files
app.py
CHANGED
@@ -53,6 +53,8 @@ def respond(
|
|
53 |
temperature: float,
|
54 |
top_p: float,
|
55 |
):
|
|
|
|
|
56 |
if len(history) == 0 or history[0]['role'] != 'system':
|
57 |
messages = [{"role": "system", "content": """You are Softie, or 小软 in Chinese.
|
58 |
You are an intelligent assistant developed by the School of Software at Hefei University of Technology.
|
|
|
53 |
temperature: float,
|
54 |
top_p: float,
|
55 |
):
|
56 |
+
print('message', message)
|
57 |
+
print('history', history)
|
58 |
if len(history) == 0 or history[0]['role'] != 'system':
|
59 |
messages = [{"role": "system", "content": """You are Softie, or 小软 in Chinese.
|
60 |
You are an intelligent assistant developed by the School of Software at Hefei University of Technology.
|