Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ result = []
|
|
66 |
seq=512
|
67 |
fast=False
|
68 |
fps=25
|
69 |
-
time=
|
70 |
width=896
|
71 |
height=896
|
72 |
step=50
|
@@ -190,7 +190,7 @@ def generate_random_string(length):
|
|
190 |
characters = str(ascii_letters + digits)
|
191 |
return ''.join(random.choice(characters) for _ in range(length))
|
192 |
|
193 |
-
@spaces.GPU(duration=
|
194 |
def pipe_generate(img,p1,p2,motion):
|
195 |
global last_motion
|
196 |
global pipe
|
|
|
66 |
seq=512
|
67 |
fast=False
|
68 |
fps=25
|
69 |
+
time=1
|
70 |
width=896
|
71 |
height=896
|
72 |
step=50
|
|
|
190 |
characters = str(ascii_letters + digits)
|
191 |
return ''.join(random.choice(characters) for _ in range(length))
|
192 |
|
193 |
+
@spaces.GPU(duration=180)
|
194 |
def pipe_generate(img,p1,p2,motion):
|
195 |
global last_motion
|
196 |
global pipe
|