Spaces:
Paused
Paused
logging
Browse files
app.py
CHANGED
@@ -66,9 +66,11 @@ def generate(
|
|
66 |
)
|
67 |
t = Thread(target=model.generate, kwargs=generate_kwargs)
|
68 |
t.start()
|
|
|
69 |
|
70 |
outputs = []
|
71 |
for text in streamer:
|
|
|
72 |
outputs.append(text)
|
73 |
yield "".join(outputs)
|
74 |
|
|
|
66 |
)
|
67 |
t = Thread(target=model.generate, kwargs=generate_kwargs)
|
68 |
t.start()
|
69 |
+
print()
|
70 |
|
71 |
outputs = []
|
72 |
for text in streamer:
|
73 |
+
print(text, end="")
|
74 |
outputs.append(text)
|
75 |
yield "".join(outputs)
|
76 |
|