Yaron Koresh commited on
Commit
6532b5e
·
verified ·
1 Parent(s): 608a96e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -86,14 +86,14 @@ def generate_random_string(length):
86
  characters = string.ascii_letters + string.digits
87
  return ''.join(random.choice(characters) for _ in range(length))
88
 
89
- @spaces.GPU(duration=45)
90
  def Piper(_do,_dont):
91
  return pipe(
92
  _do,
93
  height=512,
94
- width=1024,
95
  negative_prompt=_dont,
96
- num_inference_steps=75,
97
  guidance_scale=2
98
  )
99
 
 
86
  characters = string.ascii_letters + string.digits
87
  return ''.join(random.choice(characters) for _ in range(length))
88
 
89
+ @spaces.GPU(duration=35)
90
  def Piper(_do,_dont):
91
  return pipe(
92
  _do,
93
  height=512,
94
+ width=512,
95
  negative_prompt=_dont,
96
+ num_inference_steps=50,
97
  guidance_scale=2
98
  )
99