Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import os
|
|
2 |
import subprocess
|
3 |
from typing import Union
|
4 |
from huggingface_hub import whoami
|
5 |
-
from huggingface_hub import HfApi
|
6 |
is_spaces = True if os.environ.get("SPACE_ID") else False
|
7 |
|
8 |
if is_spaces:
|
|
|
2 |
import subprocess
|
3 |
from typing import Union
|
4 |
from huggingface_hub import whoami
|
5 |
+
from huggingface_hub import HfApi
|
6 |
is_spaces = True if os.environ.get("SPACE_ID") else False
|
7 |
|
8 |
if is_spaces:
|