Update app.py
Browse files
app.py
CHANGED
@@ -140,7 +140,8 @@ def delete_old_files():
|
|
140 |
if file_mtime < cutoff:
|
141 |
os.remove(file_path)
|
142 |
time.sleep(600)
|
143 |
-
|
|
|
144 |
def plex(prompt,image_input,seed_value,scale_status,rife_status,progress=gr.Progress(track_tqdm=True)):
|
145 |
seed = seed_value
|
146 |
if seed == -1:
|
|
|
140 |
if file_mtime < cutoff:
|
141 |
os.remove(file_path)
|
142 |
time.sleep(600)
|
143 |
+
|
144 |
+
@spaces.GPU(duration=180)
|
145 |
def plex(prompt,image_input,seed_value,scale_status,rife_status,progress=gr.Progress(track_tqdm=True)):
|
146 |
seed = seed_value
|
147 |
if seed == -1:
|