Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,7 +29,7 @@ def generate_text(input_text, history):
|
|
| 29 |
print(stream["choices"][0]["text"])
|
| 30 |
yield stream["choices"][0]["text"]
|
| 31 |
|
| 32 |
-
history =["init",input_text_with_history]
|
| 33 |
|
| 34 |
|
| 35 |
|
|
|
|
| 29 |
print(stream["choices"][0]["text"])
|
| 30 |
yield stream["choices"][0]["text"]
|
| 31 |
|
| 32 |
+
history =["init",str(input_text_with_history)]
|
| 33 |
|
| 34 |
|
| 35 |
|