BtB-ExpC commited on
Commit
2404fd3
·
1 Parent(s): 194b408

Removed {Department}

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -194,7 +194,7 @@ def api_call(messages, temperature=0.9, model="gpt-4"):
194
 
195
 
196
  # Function to be called by Gradio interface
197
- def process_inputs(EPA_title, Department, Extra_input):
198
  # Check if EPA_title is empty
199
  if not EPA_title:
200
  return manual
@@ -249,8 +249,7 @@ def process_inputs(EPA_title, Department, Extra_input):
249
  iface = gr.Interface(
250
  fn=process_inputs,
251
  inputs=[
252
- gr.Textbox(lines=2, label='EPA title Here... (use the phrasing: "How to do X with ChatGPT")'),
253
- gr.Textbox(lines=2, label='Department Here... (eg: Product Management)'),
254
  gr.Textbox(lines=2, label='Extra input Here... (optional, put any extra requirements or relevant context)')
255
  ],
256
  outputs=gr.Textbox(label="Script", show_copy_button=True)
 
194
 
195
 
196
  # Function to be called by Gradio interface
197
+ def process_inputs(EPA_title, Extra_input):
198
  # Check if EPA_title is empty
199
  if not EPA_title:
200
  return manual
 
249
  iface = gr.Interface(
250
  fn=process_inputs,
251
  inputs=[
252
+ gr.Textbox(lines=2, label='EPA title Here... (use the phrasing: "How to do X with ChatGPT")'),
 
253
  gr.Textbox(lines=2, label='Extra input Here... (optional, put any extra requirements or relevant context)')
254
  ],
255
  outputs=gr.Textbox(label="Script", show_copy_button=True)