Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ def eval_text (text):
|
|
11 |
{text}
|
12 |
###Texto aclarado:
|
13 |
"""
|
14 |
-
result = pipe(new_prompt, max_length=
|
15 |
return (result[0]['generated_text'])
|
16 |
|
17 |
demo = gr.Interface(fn=eval_text, inputs="text", outputs="text", title="Lenguaje Claro")
|
|
|
11 |
{text}
|
12 |
###Texto aclarado:
|
13 |
"""
|
14 |
+
result = pipe(new_prompt, max_length=2000)
|
15 |
return (result[0]['generated_text'])
|
16 |
|
17 |
demo = gr.Interface(fn=eval_text, inputs="text", outputs="text", title="Lenguaje Claro")
|