Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -15,10 +15,7 @@ import tempfile
|
|
15 |
import cache
|
16 |
from pathlib import Path
|
17 |
|
18 |
-
|
19 |
-
api=userdata.get('api')
|
20 |
-
api_token=api
|
21 |
-
# api_token =
|
22 |
os.environ["HUGGINFACEHUB_API_TOKEN"]=api_token
|
23 |
|
24 |
temp_dir = "/content/sample_data"
|
|
|
15 |
import cache
|
16 |
from pathlib import Path
|
17 |
|
18 |
+
api_token=os.environ['api']
|
|
|
|
|
|
|
19 |
os.environ["HUGGINFACEHUB_API_TOKEN"]=api_token
|
20 |
|
21 |
temp_dir = "/content/sample_data"
|