Oliver Hahn
commited on
Commit
·
6dcd6be
1
Parent(s):
5f99e47
fix
Browse files
app.py
CHANGED
@@ -7,11 +7,6 @@ from modules.primaps import PriMaPs
|
|
7 |
from modules.backbone.dino.dinovit import DinoFeaturizerv2
|
8 |
from modules.visualization import visualize_demo
|
9 |
import gradio as gr
|
10 |
-
# set seeds
|
11 |
-
torch.manual_seed(0)
|
12 |
-
torch.cuda.manual_seed(0)
|
13 |
-
# np.random.seed(0)
|
14 |
-
# random.seed(0)
|
15 |
|
16 |
|
17 |
def gradio_primaps(image_path, threshold, architecture):
|
@@ -65,4 +60,4 @@ if __name__ == '__main__':
|
|
65 |
)
|
66 |
|
67 |
# Launch the app
|
68 |
-
interface.launch(
|
|
|
7 |
from modules.backbone.dino.dinovit import DinoFeaturizerv2
|
8 |
from modules.visualization import visualize_demo
|
9 |
import gradio as gr
|
|
|
|
|
|
|
|
|
|
|
10 |
|
11 |
|
12 |
def gradio_primaps(image_path, threshold, architecture):
|
|
|
60 |
)
|
61 |
|
62 |
# Launch the app
|
63 |
+
interface.launch()
|