Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -197,8 +197,8 @@ interface_mic = gr.Interface(
|
|
197 |
title="Voice Cloning",
|
198 |
description=description,
|
199 |
article=article,
|
200 |
-
enable_api=True, # Add this line
|
201 |
-
api_name="predict_mic" # Specify a unique API name here
|
202 |
)
|
203 |
|
204 |
interface_file = gr.Interface(
|
@@ -220,8 +220,8 @@ interface_file = gr.Interface(
|
|
220 |
title="Voice Cloning",
|
221 |
description=description,
|
222 |
article=article,
|
223 |
-
enable_api=True, # Add this line
|
224 |
-
api_name="predict_file"
|
225 |
)
|
226 |
|
227 |
interface = gr.TabbedInterface(
|
|
|
197 |
title="Voice Cloning",
|
198 |
description=description,
|
199 |
article=article,
|
200 |
+
#enable_api=True, # Add this line
|
201 |
+
#api_name="predict_mic" # Specify a unique API name here
|
202 |
)
|
203 |
|
204 |
interface_file = gr.Interface(
|
|
|
220 |
title="Voice Cloning",
|
221 |
description=description,
|
222 |
article=article,
|
223 |
+
#enable_api=True, # Add this line
|
224 |
+
#api_name="predict_file"
|
225 |
)
|
226 |
|
227 |
interface = gr.TabbedInterface(
|