Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -147,8 +147,7 @@ def _launch_demo(args):
|
|
| 147 |
elif q and q.strip():
|
| 148 |
content.append({"type": "text", 'text': q})
|
| 149 |
messages.append({'role': 'user', 'content': content})
|
| 150 |
-
|
| 151 |
-
messages.append({'role': 'assistant', 'content': [{"type": "text", 'text': a}]})
|
| 152 |
content = []
|
| 153 |
else:
|
| 154 |
continue
|
|
|
|
| 147 |
elif q and q.strip():
|
| 148 |
content.append({"type": "text", 'text': q})
|
| 149 |
messages.append({'role': 'user', 'content': content})
|
| 150 |
+
messages.append({'role': 'assistant', 'content': [{"type": "text", 'text': a}]})
|
|
|
|
| 151 |
content = []
|
| 152 |
else:
|
| 153 |
continue
|