- app_v1v2.py +2 -1
app_v1v2.py
CHANGED
|
@@ -212,9 +212,10 @@ def main(args):
|
|
| 212 |
with gr.Tabs():
|
| 213 |
with gr.TabItem("V2 - Voice & Style Conversion"):
|
| 214 |
v2_interface.render()
|
|
|
|
| 215 |
with gr.TabItem("V1 - Voice & Singing Voice Conversion"):
|
| 216 |
v1_interface.render()
|
| 217 |
-
|
| 218 |
# Launch the combined interface
|
| 219 |
demo.launch()
|
| 220 |
|
|
|
|
| 212 |
with gr.Tabs():
|
| 213 |
with gr.TabItem("V2 - Voice & Style Conversion"):
|
| 214 |
v2_interface.render()
|
| 215 |
+
v2_interface.predict.api_name = "convert_v2"
|
| 216 |
with gr.TabItem("V1 - Voice & Singing Voice Conversion"):
|
| 217 |
v1_interface.render()
|
| 218 |
+
v1_interface.predict.api_name = "convert_v1"
|
| 219 |
# Launch the combined interface
|
| 220 |
demo.launch()
|
| 221 |
|