Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ def traslate(text):
|
|
| 10 |
result = summarizer(text, min_length=180, truncation=True)
|
| 11 |
return result[0]["summary_text"]
|
| 12 |
|
| 13 |
-
iface = gr.
|
| 14 |
fn=traslate,
|
| 15 |
inputs=gr.Textbox(lines=10, placeholder="Enter text to summarize here please..."),
|
| 16 |
)
|
|
|
|
| 10 |
result = summarizer(text, min_length=180, truncation=True)
|
| 11 |
return result[0]["summary_text"]
|
| 12 |
|
| 13 |
+
iface = gr.Interface(
|
| 14 |
fn=traslate,
|
| 15 |
inputs=gr.Textbox(lines=10, placeholder="Enter text to summarize here please..."),
|
| 16 |
)
|