Spaces:
Runtime error
Runtime error
Commit
·
198bc7a
1
Parent(s):
7337c95
Update app.py
Browse files
app.py
CHANGED
|
@@ -66,11 +66,6 @@ def main():
|
|
| 66 |
)
|
| 67 |
|
| 68 |
# Set the speakers dropdown choices and value based on the selected model
|
| 69 |
-
speakers, default_speaker = set_model(model_name_dropdown.value)
|
| 70 |
-
speaker.choices = speakers
|
| 71 |
-
speaker.value = default_speaker
|
| 72 |
-
|
| 73 |
-
# Update the speakers dropdown when a new model is selected
|
| 74 |
model_name_dropdown.set_action(set_model)
|
| 75 |
|
| 76 |
iface.launch()
|
|
|
|
| 66 |
)
|
| 67 |
|
| 68 |
# Set the speakers dropdown choices and value based on the selected model
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
model_name_dropdown.set_action(set_model)
|
| 70 |
|
| 71 |
iface.launch()
|