Update app.py
Browse files
app.py
CHANGED
@@ -50,15 +50,16 @@ def gradio_app(email):
|
|
50 |
return questions, [answer for _, answer in answers]
|
51 |
|
52 |
# Gradio interface definition
|
|
|
53 |
interface = Interface(
|
54 |
fn=gradio_app,
|
55 |
inputs="textbox",
|
56 |
outputs=["text", "text"],
|
57 |
title="AI Email Assistant",
|
58 |
description="Enter a long email and get questions and possible answers generated by an AI model.",
|
59 |
-
label="Email",
|
60 |
elem_id="email-input"
|
61 |
)
|
62 |
|
|
|
63 |
# Launch the Gradio interface
|
64 |
interface.launch()
|
|
|
50 |
return questions, [answer for _, answer in answers]
|
51 |
|
52 |
# Gradio interface definition
|
53 |
+
# Gradio interface definition (without label)
|
54 |
interface = Interface(
|
55 |
fn=gradio_app,
|
56 |
inputs="textbox",
|
57 |
outputs=["text", "text"],
|
58 |
title="AI Email Assistant",
|
59 |
description="Enter a long email and get questions and possible answers generated by an AI model.",
|
|
|
60 |
elem_id="email-input"
|
61 |
)
|
62 |
|
63 |
+
|
64 |
# Launch the Gradio interface
|
65 |
interface.launch()
|