jiuface commited on
Commit
11b7640
Β·
verified Β·
1 Parent(s): f4a33cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ def generate_image(orginal_image, prompt, adapter_names, steps, seed, image_str
73
 
74
  gr.Info("Start to generate images ...")
75
  with calculateDuration(f"Make a new generator: {seed}"):
76
- txt2img_pipe.to(device)
77
  generator = torch.Generator(device=device).manual_seed(seed)
78
 
79
  with calculateDuration("Generating image"):
 
73
 
74
  gr.Info("Start to generate images ...")
75
  with calculateDuration(f"Make a new generator: {seed}"):
76
+ # txt2img_pipe.to(device)
77
  generator = torch.Generator(device=device).manual_seed(seed)
78
 
79
  with calculateDuration("Generating image"):