Spaces:
Runtime error
Runtime error
Align bundled defaults to DA3MONO-LARGE and drop map-anything link
Browse files
src/depth_anything_3/app/css_and_html.py
CHANGED
|
@@ -528,7 +528,7 @@ def get_acknowledgements_html():
|
|
| 528 |
<!-- HF Demo Adapted from - Centered at the bottom of the whole block -->
|
| 529 |
<div style="margin-top: 20px; padding-top: 15px; border-top: 1px solid rgba(59, 130, 246, 0.3); text-align: center;">
|
| 530 |
<p style="color: #a0a0a0; font-size: 0.9em; margin: 0;">
|
| 531 |
-
<i class="fas fa-code-branch fa-color-gray" style="margin-right: 5px;"></i>
|
| 532 |
</p>
|
| 533 |
</div>
|
| 534 |
</div>
|
|
|
|
| 528 |
<!-- HF Demo Adapted from - Centered at the bottom of the whole block -->
|
| 529 |
<div style="margin-top: 20px; padding-top: 15px; border-top: 1px solid rgba(59, 130, 246, 0.3); text-align: center;">
|
| 530 |
<p style="color: #a0a0a0; font-size: 0.9em; margin: 0;">
|
| 531 |
+
<i class="fas fa-code-branch fa-color-gray" style="margin-right: 5px;"></i> Powered by Depth Anything 3
|
| 532 |
</p>
|
| 533 |
</div>
|
| 534 |
</div>
|
src/depth_anything_3/app/gradio_app.py
CHANGED
|
@@ -657,8 +657,8 @@ Examples:
|
|
| 657 |
# Directory configuration
|
| 658 |
parser.add_argument(
|
| 659 |
"--model-dir",
|
| 660 |
-
default="depth-anything/
|
| 661 |
-
help="Path to the model directory (default: depth-anything/
|
| 662 |
)
|
| 663 |
parser.add_argument(
|
| 664 |
"--workspace-dir",
|
|
|
|
| 657 |
# Directory configuration
|
| 658 |
parser.add_argument(
|
| 659 |
"--model-dir",
|
| 660 |
+
default="depth-anything/DA3MONO-LARGE",
|
| 661 |
+
help="Path to the model directory (default: depth-anything/DA3MONO-LARGE)",
|
| 662 |
)
|
| 663 |
parser.add_argument(
|
| 664 |
"--workspace-dir",
|
src/depth_anything_3/utils/constants.py
CHANGED
|
@@ -12,7 +12,7 @@
|
|
| 12 |
# See the License for the specific language governing permissions and
|
| 13 |
# limitations under the License.
|
| 14 |
|
| 15 |
-
DEFAULT_MODEL = "depth-anything/
|
| 16 |
DEFAULT_EXPORT_DIR = "workspace/gallery/scene"
|
| 17 |
DEFAULT_GALLERY_DIR = "workspace/gallery"
|
| 18 |
DEFAULT_GRADIO_DIR = "workspace/gradio"
|
|
|
|
| 12 |
# See the License for the specific language governing permissions and
|
| 13 |
# limitations under the License.
|
| 14 |
|
| 15 |
+
DEFAULT_MODEL = "depth-anything/DA3MONO-LARGE"
|
| 16 |
DEFAULT_EXPORT_DIR = "workspace/gallery/scene"
|
| 17 |
DEFAULT_GALLERY_DIR = "workspace/gallery"
|
| 18 |
DEFAULT_GRADIO_DIR = "workspace/gradio"
|