brunhild217 commited on
Commit
4d8d96a
·
1 Parent(s): 02fdf7b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -139,9 +139,8 @@ with gr.Blocks() as demo:
139
  # Instead of ask students to provide key, the key is now provided by the instructor
140
 
141
  """
142
- Another way to permanently set the key is to directly go to
143
- Settings -> Variables and secrets -> Secrets
144
- Then replace OPENAI_API_KEY value with whatever openai key of the instructor.
145
  """
146
  api_input = os.environ.get("OPENAI_API_KEY")
147
  study_tutor = embed_key(api_input, study_tutor)
 
139
  # Instead of ask students to provide key, the key is now provided by the instructor
140
 
141
  """
142
+ To permanently set the key, go to Settings -> Variables and secrets -> Secrets,
143
+ then replace OPENAI_API_KEY value with whatever openai key of the instructor.
 
144
  """
145
  api_input = os.environ.get("OPENAI_API_KEY")
146
  study_tutor = embed_key(api_input, study_tutor)