Yaron Koresh commited on
Commit
96153fd
·
verified ·
1 Parent(s): 7912b14

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -77,14 +77,14 @@ def Piper(_do):
77
  _do,
78
  height=448,
79
  width=448,
80
- negative_prompt="",
81
  num_inference_steps=400,
82
- guidance_scale=9
83
  )
84
 
85
  def infer(prompt):
86
  name = generate_random_string(12)+".png"
87
- _do = f'true { translate(prompt,"english") }:'.upper()
88
  image = Piper(_do).images[0].save(name)
89
  return name
90
 
 
77
  _do,
78
  height=448,
79
  width=448,
80
+ negative_prompt="text logo:",
81
  num_inference_steps=400,
82
+ guidance_scale=10
83
  )
84
 
85
  def infer(prompt):
86
  name = generate_random_string(12)+".png"
87
+ _do = f'{ translate(prompt,"english") }:'.upper()
88
  image = Piper(_do).images[0].save(name)
89
  return name
90