Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,6 +26,10 @@ init_model_choice = open("DEFAULT_MODEL").read().strip()
|
|
| 26 |
|
| 27 |
# load the init model
|
| 28 |
interface.load_finetuned(init_model_choice)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
def to_output(sig):
|
| 31 |
return sig.sample_rate, sig.cpu().detach().numpy()[0][0]
|
|
|
|
| 26 |
|
| 27 |
# load the init model
|
| 28 |
interface.load_finetuned(init_model_choice)
|
| 29 |
+
print(f"Loaded initial model: {init_model_choice}")
|
| 30 |
+
print(f"Coarse model path: {interface.coarse_path}")
|
| 31 |
+
print(f"C2F model path: {interface.c2f_path}\n")
|
| 32 |
+
|
| 33 |
|
| 34 |
def to_output(sig):
|
| 35 |
return sig.sample_rate, sig.cpu().detach().numpy()[0][0]
|