Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app_gradio.py
Browse files- 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")
|