Senath commited on
Commit
5fb9670
·
verified ·
1 Parent(s): c96bb17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -217,7 +217,8 @@ iface = gr.Interface(
217
  outputs="json",
218
  title="iVoice Context-Aware",
219
  description="Returns only the detected entities and their related info."
220
- ).queue() # ← removed unsupported kwargs
 
221
 
222
  if __name__ == "__main__":
223
  iface.launch(
 
217
  outputs="json",
218
  title="iVoice Context-Aware",
219
  description="Returns only the detected entities and their related info."
220
+ ).queue(api_name="/predict")
221
+ # ← removed unsupported kwargs
222
 
223
  if __name__ == "__main__":
224
  iface.launch(