Another import fix
Browse files
app.py
CHANGED
@@ -1,11 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import spaces
|
2 |
import gradio as gr
|
3 |
|
4 |
import time
|
5 |
import numpy as np
|
6 |
|
7 |
-
|
8 |
-
from
|
9 |
|
10 |
HEADER = """
|
11 |
<div align="center">
|
|
|
1 |
+
import sys
|
2 |
+
|
3 |
+
# small hack to import from src
|
4 |
+
sys.path.append("src")
|
5 |
+
|
6 |
+
|
7 |
import spaces
|
8 |
import gradio as gr
|
9 |
|
10 |
import time
|
11 |
import numpy as np
|
12 |
|
13 |
+
import omniglue
|
14 |
+
from omniglue import utils
|
15 |
|
16 |
HEADER = """
|
17 |
<div align="center">
|