kiyer commited on
Commit
04b8b57
1 Parent(s): 18e51e3

Update app_gradio.py

Browse files
Files changed (1) hide show
  1. app_gradio.py +1 -0
app_gradio.py CHANGED
@@ -46,6 +46,7 @@ from prompts import *
46
 
47
  openai_key = os.environ['openai_key']
48
  cohere_key = os.environ['cohere_key']
 
49
 
50
  def load_nlp():
51
  nlp = spacy.load("en_core_web_sm")
 
46
 
47
  openai_key = os.environ['openai_key']
48
  cohere_key = os.environ['cohere_key']
49
+ os.environ["OPENAI_API_KEY"] = os.environ['openai_key']
50
 
51
  def load_nlp():
52
  nlp = spacy.load("en_core_web_sm")