Update app.py
Browse files
app.py
CHANGED
@@ -168,8 +168,8 @@ def infer(
|
|
168 |
output_type="pt",
|
169 |
).frames
|
170 |
|
171 |
-
free_memory()
|
172 |
-
return
|
173 |
|
174 |
|
175 |
def convert_to_gif(video_path):
|
@@ -196,7 +196,7 @@ def delete_old_files():
|
|
196 |
|
197 |
|
198 |
##threading.Thread(target=delete_old_files, daemon=True).start()
|
199 |
-
|
200 |
def generate(
|
201 |
prompt,
|
202 |
image_input,
|
|
|
168 |
output_type="pt",
|
169 |
).frames
|
170 |
|
171 |
+
##free_memory()
|
172 |
+
return video_pt, seed
|
173 |
|
174 |
|
175 |
def convert_to_gif(video_path):
|
|
|
196 |
|
197 |
|
198 |
##threading.Thread(target=delete_old_files, daemon=True).start()
|
199 |
+
@spaces.GPU
|
200 |
def generate(
|
201 |
prompt,
|
202 |
image_input,
|