Spaces:
Running
Running
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -83,14 +83,14 @@ def generate_random_string(length):
|
|
83 |
characters = string.ascii_letters + string.digits
|
84 |
return ''.join(random.choice(characters) for _ in range(length))
|
85 |
|
86 |
-
@spaces.GPU(duration=
|
87 |
def Piper(_do,_dont):
|
88 |
return pipe(
|
89 |
_do,
|
90 |
height=320,
|
91 |
width=480,
|
92 |
negative_prompt=_dont,
|
93 |
-
num_inference_steps=
|
94 |
guidance_scale=4
|
95 |
)
|
96 |
|
|
|
83 |
characters = string.ascii_letters + string.digits
|
84 |
return ''.join(random.choice(characters) for _ in range(length))
|
85 |
|
86 |
+
@spaces.GPU(duration=25)
|
87 |
def Piper(_do,_dont):
|
88 |
return pipe(
|
89 |
_do,
|
90 |
height=320,
|
91 |
width=480,
|
92 |
negative_prompt=_dont,
|
93 |
+
num_inference_steps=50,
|
94 |
guidance_scale=4
|
95 |
)
|
96 |
|