Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,14 @@
|
|
1 |
import gradio as gr
|
2 |
import hopsworks
|
3 |
def vocal_remove(audio):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
return audio
|
5 |
|
6 |
iface = gr.Interface(
|
|
|
1 |
import gradio as gr
|
2 |
import hopsworks
|
3 |
def vocal_remove(audio):
|
4 |
+
project = hopsworks.login()
|
5 |
+
mr = project.get_model_registry()
|
6 |
+
model = mr.get_best_model()
|
7 |
+
model_path = model.download()
|
8 |
+
model_path_pkl = model_path + "/vocal_model.pth"
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
return audio
|
13 |
|
14 |
iface = gr.Interface(
|