alexkueck commited on
Commit
06777f5
·
1 Parent(s): 2bffc35

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -27,9 +27,9 @@ _ = load_dotenv(find_dotenv())
27
 
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")
35
 
 
27
 
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")
35