Skip to content

Commit

Permalink
fix: missing colon
Browse files Browse the repository at this point in the history
  • Loading branch information
ArkanDash committed Oct 18, 2023
1 parent c37cffc commit 981f880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infer.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def get_vc(sid, to_return_protect0):
weights_index.append(os.path.join(index_root, file))
if weights_index == []:
selected_index = gr.Dropdown.update(value="")
else
else:
selected_index = gr.Dropdown.update(value=weights_index[0])
for index, model_index in enumerate(weights_index):
if selected_model in model_index:
Expand Down

0 comments on commit 981f880

Please sign in to comment.