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