Dagfinn1962 commited on
Commit
0153c82
1 Parent(s): 7c2b33c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -145,9 +145,9 @@ with gr.Blocks(theme='HaleyCH/HaleyCH_Theme') as demo:
145
  # to do: change to openaikey input for public release
146
  openai_key = gr.Textbox(
147
  label="OpenAI Key",
148
- value="openai_key",
149
  type="password",
150
- placeholder="openai_key",
151
  info="You have to provide your own OpenAI API key.",
152
  )
153
 
 
145
  # to do: change to openaikey input for public release
146
  openai_key = gr.Textbox(
147
  label="OpenAI Key",
148
+ value="os.environ.get("openai_key")",
149
  type="password",
150
+ placeholder="",
151
  info="You have to provide your own OpenAI API key.",
152
  )
153