Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ import os
|
|
| 9 |
# Настройки
|
| 10 |
use_custom_weights = True
|
| 11 |
custom_weights_path = hf_hub_download(
|
| 12 |
-
repo_id="focuzz/depth-estimation",
|
| 13 |
filename="unet_weights.pth"
|
| 14 |
)
|
| 15 |
|
|
@@ -130,4 +130,4 @@ with gr.Blocks() as demo:
|
|
| 130 |
gallery = gr.Gallery(label="Сравнение RGB и Глубины", columns=4)
|
| 131 |
demo.load(fn=generate_gallery, outputs=gallery)
|
| 132 |
|
| 133 |
-
demo.launch(
|
|
|
|
| 9 |
# Настройки
|
| 10 |
use_custom_weights = True
|
| 11 |
custom_weights_path = hf_hub_download(
|
| 12 |
+
repo_id="focuzz/diffusion-depth-estimation",
|
| 13 |
filename="unet_weights.pth"
|
| 14 |
)
|
| 15 |
|
|
|
|
| 130 |
gallery = gr.Gallery(label="Сравнение RGB и Глубины", columns=4)
|
| 131 |
demo.load(fn=generate_gallery, outputs=gallery)
|
| 132 |
|
| 133 |
+
demo.launch()
|