Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def generate(prompt, temperature=0.9, max_new_tokens=256, top_p=0.95, repetition
|
|
49 |
**generate_kwargs,
|
50 |
)
|
51 |
|
52 |
-
output =
|
53 |
for response in stream:
|
54 |
output += response.token.text
|
55 |
yield output
|
|
|
49 |
**generate_kwargs,
|
50 |
)
|
51 |
|
52 |
+
output = prompt
|
53 |
for response in stream:
|
54 |
output += response.token.text
|
55 |
yield output
|