Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ def chat_inf(system_prompt,prompt,history):
|
|
36 |
output = ""
|
37 |
for response in stream:
|
38 |
output += response.token.text
|
39 |
-
history[
|
40 |
yield history
|
41 |
|
42 |
|
|
|
36 |
output = ""
|
37 |
for response in stream:
|
38 |
output += response.token.text
|
39 |
+
history=[history,(prompt,output)
|
40 |
yield history
|
41 |
|
42 |
|