Spaces:
Runtime error
Runtime error
Dagfinn1962
commited on
Commit
•
93ebf6e
1
Parent(s):
e953404
Update app.py
Browse files
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="
|
149 |
type="password",
|
150 |
-
placeholder="",
|
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="",
|
149 |
type="password",
|
150 |
+
placeholder="os.environ.get('openai_key')",
|
151 |
info="You have to provide your own OpenAI API key.",
|
152 |
)
|
153 |
|