fixed ENV for API KEy
Browse files
app.py
CHANGED
@@ -7,6 +7,7 @@ print(f"Loading FAISS index from: {embedding_path}")
|
|
7 |
if not os.path.exists(embedding_path):
|
8 |
print("File not found!")
|
9 |
HF_KEY=os.getenv('Gated_Repo')
|
|
|
10 |
|
11 |
import spaces
|
12 |
import time
|
@@ -50,8 +51,6 @@ from huggingface_hub import login
|
|
50 |
# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.
|
51 |
|
52 |
login(token=HF_KEY)
|
53 |
-
|
54 |
-
SAIA_KEY = SAIA_KEY
|
55 |
vectorstore=None
|
56 |
rerankingModel=None
|
57 |
|
|
|
7 |
if not os.path.exists(embedding_path):
|
8 |
print("File not found!")
|
9 |
HF_KEY=os.getenv('Gated_Repo')
|
10 |
+
SAIA_KEY = os.getenv('SAIA_KEY')
|
11 |
|
12 |
import spaces
|
13 |
import time
|
|
|
51 |
# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.
|
52 |
|
53 |
login(token=HF_KEY)
|
|
|
|
|
54 |
vectorstore=None
|
55 |
rerankingModel=None
|
56 |
|