Yaron Koresh commited on
Commit
a56659c
·
verified ·
1 Parent(s): ae2310a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -71,14 +71,14 @@ def generate_random_string(length):
71
  characters = string.ascii_letters + string.digits
72
  return ''.join(random.choice(characters) for _ in range(length))
73
 
74
- @spaces.GPU(duration=30)
75
  def Piper(_do,_dont):
76
  return pipe(
77
  _do,
78
  height=512,
79
  width=768,
80
  negative_prompt=_dont,
81
- num_inference_steps=40,
82
  guidance_scale=10
83
  )
84
 
 
71
  characters = string.ascii_letters + string.digits
72
  return ''.join(random.choice(characters) for _ in range(length))
73
 
74
+ @spaces.GPU(duration=120)
75
  def Piper(_do,_dont):
76
  return pipe(
77
  _do,
78
  height=512,
79
  width=768,
80
  negative_prompt=_dont,
81
+ num_inference_steps=150,
82
  guidance_scale=10
83
  )
84