vettorazi commited on
Commit
01ba3ca
1 Parent(s): 702f5f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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(