Update app.py
Browse files
app.py
CHANGED
@@ -92,10 +92,10 @@ LR = resize(Image.open('LR.png')).save('LR.png')
|
|
92 |
Ref = resize(Image.open('Ref.png')).save('Ref.png')
|
93 |
|
94 |
## input
|
95 |
-
examples=
|
96 |
|
97 |
## interface
|
98 |
-
gr.Interface(inference,
|
99 |
|
100 |
#################### 8K ##################
|
101 |
## inference
|
|
|
92 |
Ref = resize(Image.open('Ref.png')).save('Ref.png')
|
93 |
|
94 |
## input
|
95 |
+
examples={"LR": 'LR.png', "Ref": 'Ref.png'}
|
96 |
|
97 |
## interface
|
98 |
+
gr.Interface(inference,{"LR": gr.inputs.Image(type="pil"), "Ref (recommended to have 2x resolution of LR)":, gr.inputs.Image(type="pil")}, {"Output (4x)": gr.outputs.Image(type="file")},title=title,description=description,article=article,theme ="peach",examples=examples).launch(enable_queue=True)
|
99 |
|
100 |
#################### 8K ##################
|
101 |
## inference
|