vettorazi commited on
Commit
cf30961
1 Parent(s): 615046d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -198,6 +198,7 @@ interface_mic = gr.Interface(
198
  description=description,
199
  article=article,
200
  enable_api=True, # Add this line
 
201
  )
202
 
203
  interface_file = gr.Interface(
@@ -220,6 +221,7 @@ interface_file = gr.Interface(
220
  description=description,
221
  article=article,
222
  enable_api=True, # Add this line
 
223
  )
224
 
225
  interface = gr.TabbedInterface(
 
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(
 
221
  description=description,
222
  article=article,
223
  enable_api=True, # Add this line
224
+ api_name="predict_file"
225
  )
226
 
227
  interface = gr.TabbedInterface(