Yaron Koresh commited on
Commit
ba096c1
·
verified ·
1 Parent(s): a29f34e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -65,18 +65,18 @@ def infer(prompt):
65
  print(f'Final prompt: {english_prompt}')
66
  image = pipe(
67
  english_prompt,
68
- height=512,
69
- width=512,
70
  negative_prompt="",
71
- num_inference_steps=100,
72
- guidance_scale=10.0
73
  ).images[0].save(name)
74
  return name
75
 
76
  css="""
77
  #col-container {
78
  margin: 0 auto;
79
- max-width: 16cm;
80
  }
81
  #image-container {
82
  aspect-ratio: 1 / 1;
 
65
  print(f'Final prompt: {english_prompt}')
66
  image = pipe(
67
  english_prompt,
68
+ height=768,
69
+ width=768,
70
  negative_prompt="",
71
+ num_inference_steps=40,
72
+ guidance_scale=9.0
73
  ).images[0].save(name)
74
  return name
75
 
76
  css="""
77
  #col-container {
78
  margin: 0 auto;
79
+ max-width: 14cm;
80
  }
81
  #image-container {
82
  aspect-ratio: 1 / 1;