Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
import gradio as gr
|
2 |
-
gr.Interface.queue(api_open=True)
|
3 |
import torch
|
4 |
import spaces
|
5 |
torch.jit.script = lambda f: f
|
@@ -603,5 +602,5 @@ with gr.Blocks(css="custom.css") as demo:
|
|
603 |
share_button.click(None, [], [], js=share_js)
|
604 |
demo.load(fn=classify_gallery, inputs=[gr_sdxl_loras], outputs=[gallery, gr_sdxl_loras], js=js)
|
605 |
|
606 |
-
demo.queue(default_concurrency_limit=None)
|
607 |
demo.launch(share=True)
|
|
|
1 |
import gradio as gr
|
|
|
2 |
import torch
|
3 |
import spaces
|
4 |
torch.jit.script = lambda f: f
|
|
|
602 |
share_button.click(None, [], [], js=share_js)
|
603 |
demo.load(fn=classify_gallery, inputs=[gr_sdxl_loras], outputs=[gallery, gr_sdxl_loras], js=js)
|
604 |
|
605 |
+
demo.queue(default_concurrency_limit=None, api_open=True)
|
606 |
demo.launch(share=True)
|