Spaces:
Runtime error
Runtime error
Commit
·
4e5aa69
1
Parent(s):
71ef9e1
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,6 +33,10 @@ from datasets import load_dataset
|
|
| 33 |
DB_FILE = "./reviewsE.db"
|
| 34 |
|
| 35 |
TOKEN = os.environ.get('HF_KEY')
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
repo = huggingface_hub.Repository(
|
| 38 |
local_dir="data",
|
|
@@ -41,10 +45,7 @@ repo = huggingface_hub.Repository(
|
|
| 41 |
use_auth_token=TOKEN
|
| 42 |
)
|
| 43 |
repo.git_pull()
|
| 44 |
-
|
| 45 |
-
TOKENR=os.environ.get('RA_TOKEN')
|
| 46 |
-
print (TOKENR[-1])
|
| 47 |
-
#TOKEN2 = HF_TOKEN
|
| 48 |
|
| 49 |
|
| 50 |
#login(token=TOKEN2)
|
|
|
|
| 33 |
DB_FILE = "./reviewsE.db"
|
| 34 |
|
| 35 |
TOKEN = os.environ.get('HF_KEY')
|
| 36 |
+
print ("TOKE--1")
|
| 37 |
+
#TOKENR=os.environ.get('RA_TOKEN')
|
| 38 |
+
print (TOKEN[-1])
|
| 39 |
+
#TOKEN2 = HF_TOKEN
|
| 40 |
|
| 41 |
repo = huggingface_hub.Repository(
|
| 42 |
local_dir="data",
|
|
|
|
| 45 |
use_auth_token=TOKEN
|
| 46 |
)
|
| 47 |
repo.git_pull()
|
| 48 |
+
|
|
|
|
|
|
|
|
|
|
| 49 |
|
| 50 |
|
| 51 |
#login(token=TOKEN2)
|