Update app.py
Browse files
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()
|
|
|
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(
|