aifeifei798 commited on
Commit
8adc8b6
1 Parent(s): ef9f729

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -34,7 +34,8 @@ def infer(prompt, seed=42, randomize_seed=False, width=1024, height=1024, num_in
34
  generator = torch.Generator().manual_seed(seed)
35
  #prompt = f"{prompt}, Master of Light and Shadow."
36
  image = pipe(
37
- prompt = prompt,
 
38
  width = width,
39
  height = height,
40
  num_inference_steps = num_inference_steps,
 
34
  generator = torch.Generator().manual_seed(seed)
35
  #prompt = f"{prompt}, Master of Light and Shadow."
36
  image = pipe(
37
+ prompt = "",
38
+ prompt_2 = prompt,
39
  width = width,
40
  height = height,
41
  num_inference_steps = num_inference_steps,