Spaces:
Sleeping
Sleeping
turn off api
Browse filesSigned-off-by: peter szemraj <peterszemraj@gmail.com>
app.py
CHANGED
@@ -231,11 +231,11 @@ with gr.Blocks(theme=theme, analytics_enabled=False, css=_styles) as demo:
|
|
231 |
],
|
232 |
outputs=[output],
|
233 |
# preprocess=False,
|
234 |
-
batch=False,
|
235 |
show_progress=True,
|
236 |
)
|
237 |
|
238 |
-
demo.queue(max_size=10).launch(
|
239 |
debug=True,
|
240 |
server_port=DEFAULT_PORT,
|
241 |
show_api=False,
|
|
|
231 |
],
|
232 |
outputs=[output],
|
233 |
# preprocess=False,
|
234 |
+
# batch=False,
|
235 |
show_progress=True,
|
236 |
)
|
237 |
|
238 |
+
demo.queue(max_size=10, api_open=False).launch(
|
239 |
debug=True,
|
240 |
server_port=DEFAULT_PORT,
|
241 |
show_api=False,
|