Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -23,6 +23,6 @@ def generate(text: str):
|
|
23 |
"""
|
24 |
# Use the pipeline to generate text from the given input text
|
25 |
output = pipe(text)
|
26 |
-
|
27 |
# Return the generated text in a JSON response
|
28 |
return {"output": output[0]["generated_text"]}
|
|
|
23 |
"""
|
24 |
# Use the pipeline to generate text from the given input text
|
25 |
output = pipe(text)
|
26 |
+
print(output)
|
27 |
# Return the generated text in a JSON response
|
28 |
return {"output": output[0]["generated_text"]}
|