Spaces:
Paused
Paused
Queue optimization
Browse files
app.py
CHANGED
@@ -36,4 +36,4 @@ prompt_output = gr.Textbox(lines=4, label="Converted v2.x Stable Diffusion promp
|
|
36 |
examples=[["girl with steampunk weapons and uniform, serious, finely detailed, made by wlop, boichi, ilya kuvshinov, full body portrait, illustration, grass, sunny, sky, anime, side view, perfect anime face, detailed face, zoomed out, smooth","fast"],
|
37 |
["a yellow cockatiel riding on the rings of saturn wearing a propeller hat, fantasy, intricate, elegant, highly detailed, digital painting, artstation, concept art, smooth, sharp focus, illustration, art by artgerm and greg rutkowski and alphonse mucha ","classic"],
|
38 |
["painting, view from inside edward hopper's painting nighthawks, of a group of werebears robbing a bank, foggy ","best"]]
|
39 |
-
gr.Interface(fn=infer, inputs=[prompt_input,mode_input], outputs=[prompt_output],title=title,description=description,examples=examples).queue(max_size=10).launch(enable_queue=True
|
|
|
36 |
examples=[["girl with steampunk weapons and uniform, serious, finely detailed, made by wlop, boichi, ilya kuvshinov, full body portrait, illustration, grass, sunny, sky, anime, side view, perfect anime face, detailed face, zoomed out, smooth","fast"],
|
37 |
["a yellow cockatiel riding on the rings of saturn wearing a propeller hat, fantasy, intricate, elegant, highly detailed, digital painting, artstation, concept art, smooth, sharp focus, illustration, art by artgerm and greg rutkowski and alphonse mucha ","classic"],
|
38 |
["painting, view from inside edward hopper's painting nighthawks, of a group of werebears robbing a bank, foggy ","best"]]
|
39 |
+
gr.Interface(fn=infer, inputs=[prompt_input,mode_input], outputs=[prompt_output],title=title,description=description,examples=examples).queue(max_size=10,concurrency_count=20).launch(enable_queue=True)
|