Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -44,6 +44,7 @@ def generate(
|
|
44 |
for response in stream:
|
45 |
output_text += response.token.text
|
46 |
yield output_text, history # Yield the updated output_text and the updated history
|
|
|
47 |
|
48 |
additional_inputs = [
|
49 |
gr.Textbox(label="System Prompt", max_lines=1, interactive=True),
|
|
|
44 |
for response in stream:
|
45 |
output_text += response.token.text
|
46 |
yield output_text, history # Yield the updated output_text and the updated history
|
47 |
+
yield output
|
48 |
|
49 |
additional_inputs = [
|
50 |
gr.Textbox(label="System Prompt", max_lines=1, interactive=True),
|