Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ def summarize_text(text):
|
|
30 |
return tokenizer.decode(summary_ids[0], skip_special_tokens=True)
|
31 |
|
32 |
|
33 |
-
interface=gr.
|
34 |
fn=summarize_text,
|
35 |
input=fr.inputs.Textbox(lines=10,placeholder='Enter text here....', label="Input text"),
|
36 |
ouputs=gr.outputs.Textbox(label='summarized Text'),
|
|
|
30 |
return tokenizer.decode(summary_ids[0], skip_special_tokens=True)
|
31 |
|
32 |
|
33 |
+
interface=gr.Interface(
|
34 |
fn=summarize_text,
|
35 |
input=fr.inputs.Textbox(lines=10,placeholder='Enter text here....', label="Input text"),
|
36 |
ouputs=gr.outputs.Textbox(label='summarized Text'),
|