Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -477,7 +477,7 @@ with gr.Blocks(theme=soft, title="Social Bias Testing in Language Models",
|
|
477 |
# elem_id="gen_model_check")
|
478 |
with gr.Row(visible=False) as online_gen_row:
|
479 |
# OpenAI Key for generator
|
480 |
-
openai_key = gr.Textbox(lines=1, label="OpenAI API Key",
|
481 |
placeholder="starts with sk-",
|
482 |
info="Please provide the key for an Open AI account to generate new test sentences",
|
483 |
visible=True,
|
|
|
477 |
# elem_id="gen_model_check")
|
478 |
with gr.Row(visible=False) as online_gen_row:
|
479 |
# OpenAI Key for generator
|
480 |
+
openai_key = gr.Textbox(value= curr_openai_key, lines=1, label="OpenAI API Key",
|
481 |
placeholder="starts with sk-",
|
482 |
info="Please provide the key for an Open AI account to generate new test sentences",
|
483 |
visible=True,
|