Yaron Koresh commited on
Commit
56b27e2
·
verified ·
1 Parent(s): d2bce4f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -65,10 +65,10 @@ def infer(prompt):
65
  print(f'Final prompt: {english_prompt}')
66
  image = pipe(
67
  english_prompt,
68
- height=384,
69
- width=384,
70
  negative_prompt="",
71
- num_inference_steps=40,
72
  guidance_scale=9
73
  ).images[0].save(name)
74
  return name
 
65
  print(f'Final prompt: {english_prompt}')
66
  image = pipe(
67
  english_prompt,
68
+ height=256,
69
+ width=256,
70
  negative_prompt="",
71
+ num_inference_steps=30,
72
  guidance_scale=9
73
  ).images[0].save(name)
74
  return name