Spaces:
Running
on
Zero
Running
on
Zero
update model
Browse files
app.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
|
2 |
import gradio as gr
|
3 |
|
4 |
import torch
|
@@ -11,7 +11,6 @@ import gradio as gr
|
|
11 |
from backbone import extract_features
|
12 |
from ncut_pytorch import NCUT, rgb_from_tsne_3d, rgb_from_umap_3d
|
13 |
|
14 |
-
import spaces
|
15 |
|
16 |
def compute_ncut(
|
17 |
features,
|
@@ -184,4 +183,4 @@ with gr.Blocks() as demo:
|
|
184 |
)
|
185 |
|
186 |
|
187 |
-
demo.launch(
|
|
|
1 |
+
import spaces
|
2 |
import gradio as gr
|
3 |
|
4 |
import torch
|
|
|
11 |
from backbone import extract_features
|
12 |
from ncut_pytorch import NCUT, rgb_from_tsne_3d, rgb_from_umap_3d
|
13 |
|
|
|
14 |
|
15 |
def compute_ncut(
|
16 |
features,
|
|
|
183 |
)
|
184 |
|
185 |
|
186 |
+
demo.launch()
|