Spaces:
Runtime error
Runtime error
Eddycrack864
commited on
Commit
•
2aece30
1
Parent(s):
d1ed5a8
Update webUI.py
Browse files
webUI.py
CHANGED
@@ -65,7 +65,8 @@ class UVRWebUI:
|
|
65 |
setting2_update = self.arch_setting2.update(choices=VOL_COMPENSATION, label=VOL_COMP_MDX_MAIN_LABEL, value=root.compensate_var.get())
|
66 |
elif arch == DEMUCS_ARCH_TYPE:
|
67 |
model_update = self.model_choice.update(choices=choices, value=CHOOSE_MODEL, label=CHOOSE_DEMUCS_MODEL_MAIN_LABEL)
|
68 |
-
|
|
|
69 |
else:
|
70 |
raise gr.Error(f"Unkown arch type: {arch}")
|
71 |
return [model_update, setting1_update, setting2_update]
|
|
|
65 |
setting2_update = self.arch_setting2.update(choices=VOL_COMPENSATION, label=VOL_COMP_MDX_MAIN_LABEL, value=root.compensate_var.get())
|
66 |
elif arch == DEMUCS_ARCH_TYPE:
|
67 |
model_update = self.model_choice.update(choices=choices, value=CHOOSE_MODEL, label=CHOOSE_DEMUCS_MODEL_MAIN_LABEL)
|
68 |
+
setting1_update = self.arch_setting1.update(choices=VR_WINDOW, label=WINDOW_SIZE_MAIN_LABEL, value=root.window_size_var.get())
|
69 |
+
setting2_update = self.arch_setting2.update(choices=VR_AGGRESSION, label=AGGRESSION_SETTING_MAIN_LABEL, value=root.aggression_setting_var.get())
|
70 |
else:
|
71 |
raise gr.Error(f"Unkown arch type: {arch}")
|
72 |
return [model_update, setting1_update, setting2_update]
|