Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse filesadd default value in the domain ID selection dropdown
app.py
CHANGED
@@ -16,7 +16,7 @@ description = (
|
|
16 |
"This demonstration only accepts `.wav` format. Best at 16 kHz sampling rate."
|
17 |
)
|
18 |
|
19 |
-
device = torch.device("cuda"
|
20 |
config = importlib.import_module("utmosv2.config.fusion_stage3")
|
21 |
cfg = SimpleNamespace(**{attr: getattr(config, attr) for attr in config.__dict__ if not attr.startswith("__")})
|
22 |
cfg.reproduce = False
|
@@ -64,6 +64,7 @@ with gr.Blocks() as demo:
|
|
64 |
"blizzard2011",
|
65 |
],
|
66 |
label="Data-domain ID for the MOS prediction",
|
|
|
67 |
)
|
68 |
submit = gr.Button(value="Submit")
|
69 |
|
|
|
16 |
"This demonstration only accepts `.wav` format. Best at 16 kHz sampling rate."
|
17 |
)
|
18 |
|
19 |
+
device = torch.device("cuda")
|
20 |
config = importlib.import_module("utmosv2.config.fusion_stage3")
|
21 |
cfg = SimpleNamespace(**{attr: getattr(config, attr) for attr in config.__dict__ if not attr.startswith("__")})
|
22 |
cfg.reproduce = False
|
|
|
64 |
"blizzard2011",
|
65 |
],
|
66 |
label="Data-domain ID for the MOS prediction",
|
67 |
+
value="sarulab"
|
68 |
)
|
69 |
submit = gr.Button(value="Submit")
|
70 |
|