Spaces:
Sleeping
Sleeping
Commit ·
f3257b1
1
Parent(s): 3e6e828
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,8 +8,7 @@ def analyze_text(text):
|
|
| 8 |
text = text.replace('"', '""')
|
| 9 |
text = text.replace(''', "''")
|
| 10 |
text = text.replace('&', "&")
|
| 11 |
-
result = summarizer(text, min_length=180, truncation=True
|
| 12 |
-
)
|
| 13 |
iface = gr.Interface(
|
| 14 |
fn=analyze_text,
|
| 15 |
inputs=gr.inputs.Textbox(lines=10, placeholder= "Enter or paste your Text and press Submit."),
|
|
|
|
| 8 |
text = text.replace('"', '""')
|
| 9 |
text = text.replace(''', "''")
|
| 10 |
text = text.replace('&', "&")
|
| 11 |
+
result = summarizer(text, min_length=180, truncation=True)
|
|
|
|
| 12 |
iface = gr.Interface(
|
| 13 |
fn=analyze_text,
|
| 14 |
inputs=gr.inputs.Textbox(lines=10, placeholder= "Enter or paste your Text and press Submit."),
|