Spaces:
Sleeping
Sleeping
Upload gradio_app.py
Browse files- gradio_app.py +1 -1
gradio_app.py
CHANGED
@@ -8,7 +8,7 @@ import os
|
|
8 |
# import key
|
9 |
# OPENAI_API_KEY = key.api_key
|
10 |
# from dotenv import load_dotenv
|
11 |
-
|
12 |
|
13 |
# Initialize embeddings and load the existing vectorstore
|
14 |
embeddings = HuggingFaceEmbeddings(
|
|
|
8 |
# import key
|
9 |
# OPENAI_API_KEY = key.api_key
|
10 |
# from dotenv import load_dotenv
|
11 |
+
OPENAI_API_KEY=os.environ.get("HUGGINGFACE_API_KEY")
|
12 |
|
13 |
# Initialize embeddings and load the existing vectorstore
|
14 |
embeddings = HuggingFaceEmbeddings(
|