darienacosta commited on
Commit
cbc4db8
1 Parent(s): 1717783

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1072,7 +1072,7 @@ with gr.Blocks(css=".gradio-container {background-color: lightgray}") as block:
1072
 
1073
  gr.HTML('''<br><center><img src="https://www.coverwhale.com/wp-content/uploads/2022/06/coverwhale_logo_purple.2560760b-768x136.png"></center>''')
1074
 
1075
- message.submit(chat, inputs=[os.environ['gptapikey'], message, history_state, chain_state, trace_chain_state,
1076
  speak_text_state, talking_head_state, monologue_state,
1077
  express_chain_state, num_words_state, formality_state,
1078
  anticipation_level_state, joy_level_state, trust_level_state, fear_level_state,
 
1072
 
1073
  gr.HTML('''<br><center><img src="https://www.coverwhale.com/wp-content/uploads/2022/06/coverwhale_logo_purple.2560760b-768x136.png"></center>''')
1074
 
1075
+ message.submit(chat, inputs=[openai_api_key_textbox, message, history_state, chain_state, trace_chain_state,
1076
  speak_text_state, talking_head_state, monologue_state,
1077
  express_chain_state, num_words_state, formality_state,
1078
  anticipation_level_state, joy_level_state, trust_level_state, fear_level_state,