fvde commited on
Commit
c77919f
·
1 Parent(s): bb827f5

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. src/gradio_app.py +14 -12
src/gradio_app.py CHANGED
@@ -118,7 +118,9 @@ def load_summary_section(llm: ChatOpenAI):
118
  subject_email_summary = gr.Textbox(
119
  label="Subject", placeholder="Enter Subject"
120
  )
121
- send_email_button = gr.Button("TEST email", interactive=False)
 
 
122
  with gr.Column(scale=3):
123
  email_instructions_summary = gr.Textbox(
124
  label="Email Instructions",
@@ -170,17 +172,17 @@ def load_summary_section(llm: ChatOpenAI):
170
  )
171
 
172
  # Email button click opens the default email client and fills in the email instructions
173
- send_email_button.click(
174
- fn=send_email,
175
- inputs=[
176
- summary_output,
177
- recipiant_email_summary,
178
- subject_email_summary,
179
- email_instructions_summary,
180
- ],
181
- outputs=[],
182
- # queue=False,
183
- )
184
  return summary_section
185
 
186
 
 
118
  subject_email_summary = gr.Textbox(
119
  label="Subject", placeholder="Enter Subject"
120
  )
121
+ send_email_button = gr.Button(
122
+ "TEST email", link="mailto:", interactive=False
123
+ )
124
  with gr.Column(scale=3):
125
  email_instructions_summary = gr.Textbox(
126
  label="Email Instructions",
 
172
  )
173
 
174
  # Email button click opens the default email client and fills in the email instructions
175
+ # send_email_button.click(
176
+ # fn=send_email,
177
+ # inputs=[
178
+ # summary_output,
179
+ # recipiant_email_summary,
180
+ # subject_email_summary,
181
+ # email_instructions_summary,
182
+ # ],
183
+ # outputs=[],
184
+ # # queue=False,
185
+ # )
186
  return summary_section
187
 
188