Omnibus commited on
Commit
3a89838
1 Parent(s): a73f5bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -184,7 +184,7 @@ def improve_img(inp,model_name,denoise_strength,face_enhance,outscale):
184
  yield _,"Reading image"
185
 
186
  #img=cv2.imread(inp)
187
- cv2.imwrite(f'{uid}-frames/tmp_im.png',cv2.cvtColor(inp, cv2.COLOR_BGR2RGB)
188
  out = os.path.abspath(f'{uid}-frames/tmp_im.png')
189
  out_url = f'{main_url}/file={out}'
190
  yield _,"Improving image"
 
184
  yield _,"Reading image"
185
 
186
  #img=cv2.imread(inp)
187
+ cv2.imwrite(f'{uid}-frames/tmp_im.png',cv2.cvtColor(inp, cv2.COLOR_BGR2RGB))
188
  out = os.path.abspath(f'{uid}-frames/tmp_im.png')
189
  out_url = f'{main_url}/file={out}'
190
  yield _,"Improving image"