Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ def generate(prompt,history):
|
|
40 |
buf = ""
|
41 |
for response in stream:
|
42 |
output += response.token.text
|
43 |
-
yield history
|
44 |
|
45 |
def load_mod(model):
|
46 |
yield f"Loading: {model}"
|
|
|
40 |
buf = ""
|
41 |
for response in stream:
|
42 |
output += response.token.text
|
43 |
+
yield [history,(prompt,output)]
|
44 |
|
45 |
def load_mod(model):
|
46 |
yield f"Loading: {model}"
|