Updated the app.py file
Browse files
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 |
|