Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -17,8 +17,9 @@ def summarize(text):
|
|
17 |
# Define the Gradio interface
|
18 |
iface = gr.Interface(
|
19 |
fn=summarize,
|
20 |
-
inputs=gr.
|
21 |
outputs="text",
|
22 |
title="Summarization by Flan-T5-Large with PEFT"
|
23 |
)
|
24 |
|
|
|
|
17 |
# Define the Gradio interface
|
18 |
iface = gr.Interface(
|
19 |
fn=summarize,
|
20 |
+
inputs=gr.Textbox(lines=2, placeholder="Enter your text here..."),
|
21 |
outputs="text",
|
22 |
title="Summarization by Flan-T5-Large with PEFT"
|
23 |
)
|
24 |
|
25 |
+
iface.launch()
|