zeyadusf commited on
Commit
fb377a4
1 Parent(s): 311dda4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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.inputs.Textbox(lines=2, placeholder="Enter your text here..."),
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()