Update app.py
Browse files
app.py
CHANGED
@@ -51,4 +51,4 @@ with gr.Blocks(title=title) as demo:
|
|
51 |
is_private.change(lambda s: token_text(s), inputs=is_private, outputs=token)
|
52 |
submit.click(run, inputs=[model_id, is_private, token], outputs=output, concurrency_limit=1)
|
53 |
|
54 |
-
demo.queue(max_size=10
|
|
|
51 |
is_private.change(lambda s: token_text(s), inputs=is_private, outputs=token)
|
52 |
submit.click(run, inputs=[model_id, is_private, token], outputs=output, concurrency_limit=1)
|
53 |
|
54 |
+
demo.queue(max_size=10).launch(show_api=True)
|