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