Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -183,7 +183,7 @@ def improve_img(inp,model_name,denoise_strength,face_enhance,outscale):
|
|
183 |
_=None
|
184 |
yield _,"Reading image"
|
185 |
|
186 |
-
img=cv2.imread(inp)
|
187 |
cv2.imwrite(f'{uid}-frames/tmp_im.png',inp)
|
188 |
out = os.path.abspath(f'{uid}-frames/tmp_im.png')
|
189 |
out_url = f'{main_url}/file={out}'
|
|
|
183 |
_=None
|
184 |
yield _,"Reading image"
|
185 |
|
186 |
+
#img=cv2.imread(inp)
|
187 |
cv2.imwrite(f'{uid}-frames/tmp_im.png',inp)
|
188 |
out = os.path.abspath(f'{uid}-frames/tmp_im.png')
|
189 |
out_url = f'{main_url}/file={out}'
|