Spaces:
Runtime error
Runtime error
fix: we need the yield
Browse files
app.py
CHANGED
@@ -160,7 +160,7 @@ def generate(
|
|
160 |
output = output.rstrip()
|
161 |
print(output)
|
162 |
#yield output
|
163 |
-
|
164 |
|
165 |
return output
|
166 |
|
|
|
160 |
output = output.rstrip()
|
161 |
print(output)
|
162 |
#yield output
|
163 |
+
yield output
|
164 |
|
165 |
return output
|
166 |
|