Grey01 commited on
Commit
b9d95a5
·
verified ·
1 Parent(s): cc7ff27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -10,9 +10,6 @@ import os
10
  os.environ['KERAS_BACKEND'] = 'tensorflow'
11
  os.environ['HF_USERNAME'] = 'Grey01'
12
 
13
- import huggingface_hub
14
- if 'HF_USERNAME' not in os.environ or 'HF_TOKEN' not in os.environ:
15
- huggingface_hub.notebook_login()
16
 
17
  hf_username = huggingface_hub.whoami()['name']
18
  hf_url = f'hf://{hf_username}/bart_billsum'
 
10
  os.environ['KERAS_BACKEND'] = 'tensorflow'
11
  os.environ['HF_USERNAME'] = 'Grey01'
12
 
 
 
 
13
 
14
  hf_username = huggingface_hub.whoami()['name']
15
  hf_url = f'hf://{hf_username}/bart_billsum'