umaiku commited on
Commit
35f9142
·
verified ·
1 Parent(s): edd5995

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -10,7 +10,8 @@ import pandas as pd
10
  """
11
  For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
12
  """
13
- login(token=os.getenv('TOKEN'))
 
14
 
15
  import requests
16
 
 
10
  """
11
  For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
12
  """
13
+ HF_TOKEN=os.getenv('TOKEN')
14
+ login(HF_TOKEN)
15
 
16
  import requests
17