KneeKhan commited on
Commit
8f86125
·
1 Parent(s): 4c9f4cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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-neox-20b"] ,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="From", placeholder ="click after email")
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]