brunhild217 commited on
Commit
7fb89c6
·
1 Parent(s): cef65f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -140,7 +140,7 @@ with gr.Blocks() as demo:
140
  To permanently set the key, go to Settings -> Variables and secrets -> Secrets,
141
  then replace OPENAI_API_KEY value with whatever openai key of the instructor.
142
  """
143
- api_input = os.environ.get("OPENAI_API_KEY")
144
 
145
  # Upload secret prompt functionality
146
  # The instructor will provide a secret prompt/persona to the tutor
 
140
  To permanently set the key, go to Settings -> Variables and secrets -> Secrets,
141
  then replace OPENAI_API_KEY value with whatever openai key of the instructor.
142
  """
143
+ api_input = gr.Textbox(show_label=False, type="password", visible=False, value=os.environ.get("OPENAI_API_KEY"))
144
 
145
  # Upload secret prompt functionality
146
  # The instructor will provide a secret prompt/persona to the tutor