Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -85,14 +85,14 @@ def generate_random_string(length):
|
|
85 |
characters = string.ascii_letters + string.digits
|
86 |
return ''.join(random.choice(characters) for _ in range(length))
|
87 |
|
88 |
-
@spaces.GPU(duration=
|
89 |
def Piper(_do,_dont):
|
90 |
return pipe(
|
91 |
_do,
|
92 |
height=512,
|
93 |
width=576,
|
94 |
negative_prompt=_dont,
|
95 |
-
num_inference_steps=
|
96 |
guidance_scale=10
|
97 |
)
|
98 |
|
|
|
85 |
characters = string.ascii_letters + string.digits
|
86 |
return ''.join(random.choice(characters) for _ in range(length))
|
87 |
|
88 |
+
@spaces.GPU(duration=45)
|
89 |
def Piper(_do,_dont):
|
90 |
return pipe(
|
91 |
_do,
|
92 |
height=512,
|
93 |
width=576,
|
94 |
negative_prompt=_dont,
|
95 |
+
num_inference_steps=175,
|
96 |
guidance_scale=10
|
97 |
)
|
98 |
|