camenduru commited on
Commit
ae5f1a8
1 Parent(s): 4c92778

Update worker_runpod.py

Browse files
Files changed (1) hide show
  1. worker_runpod.py +0 -10
worker_runpod.py CHANGED
@@ -165,15 +165,5 @@ def generate(input):
165
  finally:
166
  if os.path.exists(result):
167
  os.remove(result)
168
- if os.path.exists(input_image):
169
- os.remove(input_image)
170
- if os.path.exists(style_image1):
171
- os.remove(style_image1)
172
- if os.path.exists(style_image2):
173
- os.remove(style_image2)
174
- if os.path.exists(style_image3):
175
- os.remove(style_image3)
176
- if os.path.exists(style_image4):
177
- os.remove(style_image4)
178
 
179
  runpod.serverless.start({"handler": generate})
 
165
  finally:
166
  if os.path.exists(result):
167
  os.remove(result)
 
 
 
 
 
 
 
 
 
 
168
 
169
  runpod.serverless.start({"handler": generate})