oleksandrburlakov commited on
Commit
12ea10a
·
verified ·
1 Parent(s): b517251

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ def respond(
42
  """
43
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
44
  """
45
- secrets = window.huggingface.secrets
46
  demo = gr.ChatInterface(
47
  respond,
48
  additional_inputs=[
 
42
  """
43
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
44
  """
45
+ secrets = os.environ['openAIToken']
46
  demo = gr.ChatInterface(
47
  respond,
48
  additional_inputs=[