Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,8 @@ from langchain_community.embeddings import HuggingFaceBgeEmbeddings
|
|
| 11 |
from langchain_huggingface import HuggingFaceEndpoint
|
| 12 |
|
| 13 |
|
| 14 |
-
|
|
|
|
| 15 |
|
| 16 |
|
| 17 |
|
|
|
|
| 11 |
from langchain_huggingface import HuggingFaceEndpoint
|
| 12 |
|
| 13 |
|
| 14 |
+
HUGGINGFACEHUB_API_TOKEN = os.getenv('HUGGINGFACEHUB_API_TOKEN')
|
| 15 |
+
# os.environ["HUGGINGFACEHUB_API_TOKEN"] = HUGGINGFACEHUB_API_TOKEN
|
| 16 |
|
| 17 |
|
| 18 |
|