Spaces:
Running on Zero
Running on Zero
Update app_v1v2.py
Browse files140 unmodified lines14114214314414514614752 unmodified lines200201202203204205206207208209210211140 unmodified lines)def create_v2_interface(vc_wrapper):# Set up Gradio interfacedescription = ("Zero-shot voice/style conversion with in-context learning. For local deployment please check [GitHub repository](https://github.com/Plachtaa/seed-vc) "52 unmodified linesdef main(args):# Load V2 modelsvc_wrapper_v2 = load_v2_models(args)# Create interfacesv1_interface = create_v1_interface()v2_interface = create_v2_interface(vc_wrapper_v2)# Create tabswith gr.Blocks(title="Seed Voice Conversion") as demo:140 unmodified lines14114214314414514614752 unmodified lines200201202203204205206207208140 unmodified lines)def create_v2_interface():# Set up Gradio interfacedescription = ("Zero-shot voice/style conversion with in-context learning. For local deployment please check [GitHub repository](https://github.com/Plachtaa/seed-vc) "52 unmodified linesdef main(args):# Create interfacesv1_interface = create_v1_interface()v2_interface = create_v2_interface()# Create tabswith gr.Blocks(title="Seed Voice Conversion") as demo:
app_v1v2.py+2-5