Update
Browse files
run.py
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
import sys
|
2 |
-
root_dir = __file__.rsplit("/",
|
3 |
if root_dir not in sys.path:
|
4 |
sys.path.append(root_dir)
|
5 |
|
6 |
import gradio as gr
|
7 |
|
8 |
-
from modules.search import build_search_module
|
9 |
-
from modules.compute_score import build_score_computation
|
10 |
-
from modules.tmalign import build_TMalign
|
11 |
|
12 |
|
13 |
# Build demo
|
|
|
1 |
import sys
|
2 |
+
root_dir = __file__.rsplit("/", 1)[0]
|
3 |
if root_dir not in sys.path:
|
4 |
sys.path.append(root_dir)
|
5 |
|
6 |
import gradio as gr
|
7 |
|
8 |
+
from demo.modules.search import build_search_module
|
9 |
+
from demo.modules.compute_score import build_score_computation
|
10 |
+
from demo.modules.tmalign import build_TMalign
|
11 |
|
12 |
|
13 |
# Build demo
|