Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -85,7 +85,7 @@ def main(args):
|
|
| 85 |
vc_wrapper = load_models(args)
|
| 86 |
|
| 87 |
# Define wrapper function for Gradio to ensure arguments are handled correctly
|
| 88 |
-
|
| 89 |
@spaces.GPU # Ensures conversion runs on the specified GPU if available
|
| 90 |
def convert_voice_wrapper(source_audio_path, target_audio_path, diffusion_steps,
|
| 91 |
length_adjust, intelligibility_cfg_rate, similarity_cfg_rate,
|
|
|
|
| 85 |
vc_wrapper = load_models(args)
|
| 86 |
|
| 87 |
# Define wrapper function for Gradio to ensure arguments are handled correctly
|
| 88 |
+
@gr.gradio()
|
| 89 |
@spaces.GPU # Ensures conversion runs on the specified GPU if available
|
| 90 |
def convert_voice_wrapper(source_audio_path, target_audio_path, diffusion_steps,
|
| 91 |
length_adjust, intelligibility_cfg_rate, similarity_cfg_rate,
|