hujiecpp commited on
Commit
986ab10
·
1 Parent(s): 3c68821

init project

Browse files
Files changed (1) hide show
  1. app.py +4 -0
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