Updated the app file
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def generate_subject(model_name,email_body):
|
|
17 |
iface = gr.Interface(
|
18 |
fn=generate_subject,
|
19 |
inputs=[
|
20 |
-
gr.Dropdown(choices=["anukvma/bart-base-medium-email-subject-generation-v5"
|
21 |
gr.Textbox(lines=5, label="Email Body")
|
22 |
],
|
23 |
outputs=gr.Textbox(label="Model Summary")
|
|
|
17 |
iface = gr.Interface(
|
18 |
fn=generate_subject,
|
19 |
inputs=[
|
20 |
+
gr.Dropdown(choices=["anukvma/bart-base-medium-email-subject-generation-v5"], label="Select Model"),
|
21 |
gr.Textbox(lines=5, label="Email Body")
|
22 |
],
|
23 |
outputs=gr.Textbox(label="Model Summary")
|