Walid-Ahmed commited on
Commit
c986969
·
verified ·
1 Parent(s): 683fed6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -21,8 +21,9 @@ Musk's ambitious goals, such as colonizing Mars and building a high-speed transp
21
  # Create the Gradio interface
22
  demo = gr.Interface(
23
  fn=summary, # The function to be called for summarization
24
- inputs=[gr.Textbox(label="Input text to summarize", lines=6], # Input textbox for the text to be summarized
25
  outputs=[gr.Textbox(label="Summarized text", lines=4)], # Output textbox for the summarized text
 
26
  title="Text Summarizer", # Title of the interface
27
  description="Summarize the text", # Description of the interface
28
  examples=[[example_text]]
 
21
  # Create the Gradio interface
22
  demo = gr.Interface(
23
  fn=summary, # The function to be called for summarization
24
+ inputs=gr.Textbox(label="Input text to summarize", lines=6), # Input textbox for the text to be summarized
25
  outputs=[gr.Textbox(label="Summarized text", lines=4)], # Output textbox for the summarized text
26
+
27
  title="Text Summarizer", # Title of the interface
28
  description="Summarize the text", # Description of the interface
29
  examples=[[example_text]]