mrolando commited on
Commit
41222e4
·
1 Parent(s): a157326

fixing secret

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ import gradio as gr
37
 
38
  import os
39
  import openai
40
- openai.api_key = os.environ['OPENAI_API_KEY']
41
 
42
  # response = openai.ChatCompletion.create(
43
  # model="gpt-3.5-turbo",
 
37
 
38
  import os
39
  import openai
40
+ openai.api_key = os.environ.get['OPENAI_API_KEY']
41
 
42
  # response = openai.ChatCompletion.create(
43
  # model="gpt-3.5-turbo",