Yaron Koresh commited on
Commit
b95d20e
·
verified ·
1 Parent(s): 88e3d95

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -77,14 +77,14 @@ def generate_random_string(length):
77
  characters = string.ascii_letters + string.digits
78
  return ''.join(random.choice(characters) for _ in range(length))
79
 
80
- @spaces.GPU(duration=25)
81
  def Piper(_do):
82
  try:
83
  retu = pipe(
84
  _do,
85
  height=448,
86
  width=448,
87
- num_inference_steps=2,
88
  max_sequence_length=256,
89
  guidance_scale=0
90
  )
 
77
  characters = string.ascii_letters + string.digits
78
  return ''.join(random.choice(characters) for _ in range(length))
79
 
80
+ @spaces.GPU(duration=35)
81
  def Piper(_do):
82
  try:
83
  retu = pipe(
84
  _do,
85
  height=448,
86
  width=448,
87
+ num_inference_steps=4,
88
  max_sequence_length=256,
89
  guidance_scale=0
90
  )