fix(app): forgot index variable
Browse files- app-full.py +1 -1
- app.py +1 -1
app-full.py
CHANGED
@@ -187,7 +187,7 @@ if __name__ == '__main__':
|
|
187 |
net_g = net_g.float()
|
188 |
vc = VC(tgt_sr, config)
|
189 |
print(f"Model loaded: {model_name}")
|
190 |
-
models.append((model_name, model_title, model_author, model_cover, create_vc_fn(tgt_sr, net_g, vc, if_f0,
|
191 |
categories.append([category_title, category_folder, description, models])
|
192 |
with gr.Blocks() as app:
|
193 |
gr.Markdown(
|
|
|
187 |
net_g = net_g.float()
|
188 |
vc = VC(tgt_sr, config)
|
189 |
print(f"Model loaded: {model_name}")
|
190 |
+
models.append((model_name, model_title, model_author, model_cover, create_vc_fn(tgt_sr, net_g, vc, if_f0, model_index)))
|
191 |
categories.append([category_title, category_folder, description, models])
|
192 |
with gr.Blocks() as app:
|
193 |
gr.Markdown(
|
app.py
CHANGED
@@ -134,7 +134,7 @@ if __name__ == '__main__':
|
|
134 |
net_g = net_g.float()
|
135 |
vc = VC(tgt_sr, config)
|
136 |
print(f"Model loaded: {model_name}")
|
137 |
-
models.append((model_name, model_title, model_author, model_cover, create_vc_fn(tgt_sr, net_g, vc, if_f0,
|
138 |
categories.append([category_title, category_folder, description, models])
|
139 |
with gr.Blocks() as app:
|
140 |
gr.Markdown(
|
|
|
134 |
net_g = net_g.float()
|
135 |
vc = VC(tgt_sr, config)
|
136 |
print(f"Model loaded: {model_name}")
|
137 |
+
models.append((model_name, model_title, model_author, model_cover, create_vc_fn(tgt_sr, net_g, vc, if_f0, model_index)))
|
138 |
categories.append([category_title, category_folder, description, models])
|
139 |
with gr.Blocks() as app:
|
140 |
gr.Markdown(
|