YoussefAnwar commited on
Commit
c8d03cb
·
verified ·
1 Parent(s): 1c8d857

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -16,11 +16,10 @@ def summarize(text):
16
 
17
  interface = gr.Interface(
18
  fn=summarize,
19
- inputs=gr.inputs.Textbox(lines=10, placeholder="Enter text to summarize..."),
20
  outputs="text",
21
  title="Arabic-English Text Summarizer",
22
  description="Enter Arabic or English text, and the model will generate a summary."
23
  )
24
 
25
- # Launch the app
26
  interface.launch()
 
16
 
17
  interface = gr.Interface(
18
  fn=summarize,
19
+ inputs=gr.Textbox(lines=10, placeholder="Enter text to summarize..."),
20
  outputs="text",
21
  title="Arabic-English Text Summarizer",
22
  description="Enter Arabic or English text, and the model will generate a summary."
23
  )
24
 
 
25
  interface.launch()