Spaces:
Runtime error
Runtime error
fix
Browse files
app.py
CHANGED
@@ -164,7 +164,6 @@ def predict(
|
|
164 |
SPACE_ID = "nateraw/voice-cloning"
|
165 |
|
166 |
description = f"""
|
167 |
-
|
168 |
""".strip()
|
169 |
|
170 |
article = """
|
@@ -197,6 +196,7 @@ interface_mic = gr.Interface(
|
|
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,8 +216,8 @@ interface_file = gr.Interface(
|
|
216 |
title="Voice Cloning",
|
217 |
description=description,
|
218 |
article=article,
|
219 |
-
enable_api=True, # Add this line
|
220 |
-
api_name="predict_file"
|
221 |
)
|
222 |
|
223 |
interface = gr.TabbedInterface(
|
|
|
164 |
SPACE_ID = "nateraw/voice-cloning"
|
165 |
|
166 |
description = f"""
|
|
|
167 |
""".strip()
|
168 |
|
169 |
article = """
|
|
|
196 |
#enable_api=True, # Add this line
|
197 |
#api_name="predict_mic" # Specify a unique API name here
|
198 |
)
|
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"
|
221 |
)
|
222 |
|
223 |
interface = gr.TabbedInterface(
|