Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -248,7 +248,7 @@ def process_image_1(image):
|
|
248 |
#cv2.imwrite(f"{rand_im}-vid_tmp_proc.png", image)
|
249 |
#image = f"{rand_im}-vid_tmp_proc.png"
|
250 |
image=Image.fromarray(image)
|
251 |
-
out = esr.realesrgan1(img=image, model_name="realesr-general-x4v3", denoise_strength=0.5, face_enhance=False, outscale=
|
252 |
#out = os.path.abspath(f"{rand_im}-vid_tmp_proc.png")
|
253 |
#out_url = f'https://omnibus-vid-url-dl-mod.hf.space/file={out}'
|
254 |
#out = esr.realesrgan1(image, "realesr-general-x4v3", 0.5, False, 2)
|
|
|
248 |
#cv2.imwrite(f"{rand_im}-vid_tmp_proc.png", image)
|
249 |
#image = f"{rand_im}-vid_tmp_proc.png"
|
250 |
image=Image.fromarray(image)
|
251 |
+
out = esr.realesrgan1(img=image, model_name="realesr-general-x4v3", denoise_strength=0.5, face_enhance=False, outscale=1)
|
252 |
#out = os.path.abspath(f"{rand_im}-vid_tmp_proc.png")
|
253 |
#out_url = f'https://omnibus-vid-url-dl-mod.hf.space/file={out}'
|
254 |
#out = esr.realesrgan1(image, "realesr-general-x4v3", 0.5, False, 2)
|