anishde commited on
Commit
e702f6e
1 Parent(s): a14ad63

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -15,10 +15,7 @@ import tempfile
15
  import cache
16
  from pathlib import Path
17
 
18
- from google.colab import userdata
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"