slymnyldrm commited on
Commit
0c3792b
1 Parent(s): af6cfdd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -4,8 +4,6 @@ import torch
4
  from torch import autocast
5
  from diffusers import StableDiffusionPipeline, DDIMScheduler
6
 
7
- export COMMANDLINE_ARGS="--no-gradio-queue"
8
-
9
  move_cache()
10
 
11
  model_path = "slymnyldrm/dreambooth_usecase_weights"
@@ -45,4 +43,4 @@ with gr.Blocks() as demo:
45
 
46
  run.click(inference, inputs=[prompt, negative_prompt, num_samples, height, width, num_inference_steps, guidance_scale], outputs=gallery)
47
 
48
- demo.launch()
 
4
  from torch import autocast
5
  from diffusers import StableDiffusionPipeline, DDIMScheduler
6
 
 
 
7
  move_cache()
8
 
9
  model_path = "slymnyldrm/dreambooth_usecase_weights"
 
43
 
44
  run.click(inference, inputs=[prompt, negative_prompt, num_samples, height, width, num_inference_steps, guidance_scale], outputs=gallery)
45
 
46
+ demo.launch(enable_queue=False)