Spaces:
Running
Running
Nguyễn Bá Thiêm
commited on
Commit
·
70dafec
1
Parent(s):
144016d
Update user authentication logic
Browse files- models/SRFlow/srflow.py +1 -1
models/SRFlow/srflow.py
CHANGED
@@ -39,7 +39,7 @@ def return_SRFlow_result(lr, conf_path='models/SRFlow/code/confs/SRFlow_DF2K_4X.
|
|
39 |
sr = Image.fromarray((sr).astype('uint8'))
|
40 |
return sr
|
41 |
|
42 |
-
def
|
43 |
"""
|
44 |
Apply Super-Resolution using SRFlow model to the input LR (low-resolution) image.
|
45 |
|
|
|
39 |
sr = Image.fromarray((sr).astype('uint8'))
|
40 |
return sr
|
41 |
|
42 |
+
def test_srflow(lr, conf_path='models/SRFlow/code/confs/SRFlow_DF2K_4X.yml', heat=0.7):
|
43 |
"""
|
44 |
Apply Super-Resolution using SRFlow model to the input LR (low-resolution) image.
|
45 |
|