Update app.py
Browse files
app.py
CHANGED
@@ -58,9 +58,10 @@ def generate(
|
|
58 |
)
|
59 |
t = Thread(target=model.generate, kwargs=generate_kwargs)
|
60 |
t.start()
|
61 |
-
|
62 |
outputs = []
|
63 |
for text in streamer:
|
|
|
64 |
outputs.append(text)
|
65 |
yield "".join(outputs)
|
66 |
|
|
|
58 |
)
|
59 |
t = Thread(target=model.generate, kwargs=generate_kwargs)
|
60 |
t.start()
|
61 |
+
print(streamer)
|
62 |
outputs = []
|
63 |
for text in streamer:
|
64 |
+
print(text)
|
65 |
outputs.append(text)
|
66 |
yield "".join(outputs)
|
67 |
|