init project
Browse files
app.py
CHANGED
|
@@ -8,6 +8,10 @@ import os
|
|
| 8 |
import sys
|
| 9 |
sys.path.append(os.path.abspath('./modules'))
|
| 10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
import math
|
| 12 |
import tempfile
|
| 13 |
import gradio
|
|
|
|
| 8 |
import sys
|
| 9 |
sys.path.append(os.path.abspath('./modules'))
|
| 10 |
|
| 11 |
+
HERE_PATH = os.path.normpath(path.dirname(__file__)) # noqa
|
| 12 |
+
MASt3R_REPO_PATH = os.path.normpath(path.join(HERE_PATH, './mast3r')) # noqa
|
| 13 |
+
sys.path.insert(0, MASt3R_REPO_PATH) # noqa
|
| 14 |
+
|
| 15 |
import math
|
| 16 |
import tempfile
|
| 17 |
import gradio
|