Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,6 +28,7 @@ _ = load_dotenv(find_dotenv())
|
|
| 28 |
|
| 29 |
# access token with permission to access the model and PRO subscription
|
| 30 |
#HUGGINGFACEHUB_API_TOKEN = os.getenv("HF_ACCESS_READ")
|
|
|
|
| 31 |
login(token=os.environ["HF_ACCESS_READ"])
|
| 32 |
|
| 33 |
OAI_API_KEY=os.getenv("OPENAI_API_KEY")
|
|
|
|
| 28 |
|
| 29 |
# access token with permission to access the model and PRO subscription
|
| 30 |
#HUGGINGFACEHUB_API_TOKEN = os.getenv("HF_ACCESS_READ")
|
| 31 |
+
#os.environ["HUGGINGFACEHUB_API_TOKEN"] = HUGGINGFACEHUB_API_TOKEN
|
| 32 |
login(token=os.environ["HF_ACCESS_READ"])
|
| 33 |
|
| 34 |
OAI_API_KEY=os.getenv("OPENAI_API_KEY")
|