John Smith
commited on
Commit
·
dbfa729
1
Parent(s):
7fc81f5
Update app.py
Browse files
app.py
CHANGED
@@ -104,7 +104,8 @@ def realesrgan(img, model_name, denoise_strength, face_enhance, outscale):
|
|
104 |
#else:
|
105 |
# extension = 'jpg'
|
106 |
|
107 |
-
out_filename = f"output_{rnd_string(8)}.{extension}"
|
|
|
108 |
cv2.imwrite(out_filename, output)
|
109 |
global last_file
|
110 |
last_file = out_filename
|
|
|
104 |
#else:
|
105 |
# extension = 'jpg'
|
106 |
|
107 |
+
#out_filename = f"output_{rnd_string(8)}.{extension}"
|
108 |
+
out_filename = "output.png"
|
109 |
cv2.imwrite(out_filename, output)
|
110 |
global last_file
|
111 |
last_file = out_filename
|