Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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'
|