GSridhar1982 commited on
Commit
8a0bb07
·
verified ·
1 Parent(s): bfb52c0

Updated the app.py file

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -17,10 +17,7 @@ def generate_subject(email_body):
17
 
18
  iface = gr.Interface(
19
  fn=generate_subject,
20
- inputs=[
21
- #gr.Dropdown(choices=["anukvma/bart-base-medium-email-subject-generation-v5","anukvma/bart-base-medium-email-subject-generation-v5"], label="Select Model"),
22
- gr.Textbox(lines=5, label="Email Body")
23
- ],
24
  outputs=gr.Textbox(label="Model Summary")
25
  )
26
 
 
17
 
18
  iface = gr.Interface(
19
  fn=generate_subject,
20
+ inputs=gr.Textbox(lines=5, label="Email Body"),
 
 
 
21
  outputs=gr.Textbox(label="Model Summary")
22
  )
23