Update app.py
Browse files
app.py
CHANGED
@@ -91,13 +91,13 @@ with demo:
|
|
91 |
|
92 |
subject = gr.Dropdown([ "Requesting a meeting", "Conflict with scheduled meeting time", "Requesting clarification", "Requesting to leave early", "Requesting a leave of absence", "Requesting a letter of recommendation", "Requesting a referral for a job application"], label= "Subject/Context")
|
93 |
email = gr.Textbox(label="Input", lines=10, placeholder="Enter your Message Here!")
|
94 |
-
model_id = gr.Dropdown(["GPT-3", "bigscience/T0pp", "bigscience/bloom", "EleutherAI/gpt-
|
95 |
submit_button = gr.Button("Generate my email!")
|
96 |
text_output = gr.Textbox(lines=10, label = "Email", placeholder = "Your generated email!", interactive = True)
|
97 |
|
98 |
with gr.Row():
|
99 |
recipient_address = gr.Textbox(label="To", placeholder ="recipient's address")
|
100 |
-
email_link = gr.Textbox(label="
|
101 |
send_email = gr.Button("Send email!")
|
102 |
|
103 |
input_list = [sender, recipient, recipient_name, subject, email, model_id]
|
|
|
91 |
|
92 |
subject = gr.Dropdown([ "Requesting a meeting", "Conflict with scheduled meeting time", "Requesting clarification", "Requesting to leave early", "Requesting a leave of absence", "Requesting a letter of recommendation", "Requesting a referral for a job application"], label= "Subject/Context")
|
93 |
email = gr.Textbox(label="Input", lines=10, placeholder="Enter your Message Here!")
|
94 |
+
model_id = gr.Dropdown(["GPT-3", "bigscience/T0pp", "bigscience/bloom", "EleutherAI/gpt-neo-2.7B"] ,label = "model_id")
|
95 |
submit_button = gr.Button("Generate my email!")
|
96 |
text_output = gr.Textbox(lines=10, label = "Email", placeholder = "Your generated email!", interactive = True)
|
97 |
|
98 |
with gr.Row():
|
99 |
recipient_address = gr.Textbox(label="To", placeholder ="recipient's address")
|
100 |
+
email_link = gr.Textbox(label="Click to email", placeholder ="click after email")
|
101 |
send_email = gr.Button("Send email!")
|
102 |
|
103 |
input_list = [sender, recipient, recipient_name, subject, email, model_id]
|