eaglelandsonce commited on
Commit
e8bc2e1
1 Parent(s): 06159cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -298,15 +298,15 @@ with gr.Blocks() as demo:
298
  run_button_analysis.click(
299
  fn=company_analysis,
300
  inputs=[
301
- gr.inputs.Textbox(label="Enter your OpenAI API Key:", type="password"),
302
- gr.inputs.Textbox(label="Enter the Company Name:")
303
  ],
304
  outputs=[
305
- gr.outputs.Textbox(label="Language"),
306
- gr.outputs.Textbox(label="Summary"),
307
- gr.outputs.Textbox(label="Translated Email"),
308
- gr.outputs.Textbox(label="Reply in English"),
309
- gr.outputs.Textbox(label="Reply in Original Language")
310
  ],
311
  title="Chain Example: Language, Summary, Translate, Respond & Translate",
312
  description="Translates an email to English, provides a summary, plausible reply and translates back to the sender"
 
298
  run_button_analysis.click(
299
  fn=company_analysis,
300
  inputs=[
301
+ gr.Textbox(label="Enter your OpenAI API Key:", type="password"),
302
+ gr.Textbox(label="Enter the Company Name:")
303
  ],
304
  outputs=[
305
+ gr.Textbox(label="Language"),
306
+ gr.Textbox(label="Summary"),
307
+ gr.Textbox(label="Translated Email"),
308
+ gr.Textbox(label="Reply in English"),
309
+ gr.Textbox(label="Reply in Original Language")
310
  ],
311
  title="Chain Example: Language, Summary, Translate, Respond & Translate",
312
  description="Translates an email to English, provides a summary, plausible reply and translates back to the sender"