Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,10 +19,6 @@ from depth_anything_v2.dpt import DepthAnythingV2
|
|
| 19 |
|
| 20 |
from huggingface_hub import hf_hub_download
|
| 21 |
|
| 22 |
-
from huggingface_hub import login
|
| 23 |
-
hf_token = os.environ.get("HF_TOKEN_GATED")
|
| 24 |
-
login(token=hf_token)
|
| 25 |
-
|
| 26 |
MAX_SEED = np.iinfo(np.int32).max
|
| 27 |
|
| 28 |
def randomize_seed_fn(seed: int, randomize_seed: bool) -> int:
|
|
|
|
| 19 |
|
| 20 |
from huggingface_hub import hf_hub_download
|
| 21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
MAX_SEED = np.iinfo(np.int32).max
|
| 23 |
|
| 24 |
def randomize_seed_fn(seed: int, randomize_seed: bool) -> int:
|