Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -11,6 +11,7 @@ title = ("# [Depth2Image](https://huggingface.co/stabilityai/stable-diffusion-2-
|
|
11 |
example_files = []
|
12 |
for n in range(10):
|
13 |
url = f"https://huggingface.co/spaces/depth-anything/Depth-Anything-V2/resolve/main/assets/examples/demo{n:0>2}.jpg"
|
|
|
14 |
load_image(url).save(os.path.basename(url))
|
15 |
example_files += [os.path.basename(url)]
|
16 |
|
|
|
11 |
example_files = []
|
12 |
for n in range(10):
|
13 |
url = f"https://huggingface.co/spaces/depth-anything/Depth-Anything-V2/resolve/main/assets/examples/demo{n:0>2}.jpg"
|
14 |
+
print(url)
|
15 |
load_image(url).save(os.path.basename(url))
|
16 |
example_files += [os.path.basename(url)]
|
17 |
|