Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -104,7 +104,7 @@ article = "<p style='text-align: center'><b>To check the full capability of the
|
|
104 |
examples=[['HR_LR1.png', 'HR_Ref1.png'], ['HR_LR2.png', 'HR_Ref2.png'], ['HR_LR3.png', 'HR_Ref3.png']]
|
105 |
|
106 |
## interface
|
107 |
-
gr.Interface(inference_8K,[gr.inputs.Image(type="pil"), gr.inputs.Image(type="pil")],gr.outputs.Image(type="file"),title=title,description=description,article=article,theme ="peach",examples=examples).launch(enable_queue=True)
|
108 |
|
109 |
#################### low res ##################
|
110 |
## inference
|
@@ -147,4 +147,4 @@ Ref = resize(Image.open('Ref.png')).save('Ref.png')
|
|
147 |
examples=[['LR.png','Ref.png']]
|
148 |
|
149 |
## interface
|
150 |
-
|
|
|
104 |
examples=[['HR_LR1.png', 'HR_Ref1.png'], ['HR_LR2.png', 'HR_Ref2.png'], ['HR_LR3.png', 'HR_Ref3.png']]
|
105 |
|
106 |
## interface
|
107 |
+
# gr.Interface(inference_8K,[gr.inputs.Image(type="pil"), gr.inputs.Image(type="pil")],gr.outputs.Image(type="file"),title=title,description=description,article=article,theme ="peach",examples=examples).launch(enable_queue=True)
|
108 |
|
109 |
#################### low res ##################
|
110 |
## inference
|
|
|
147 |
examples=[['LR.png','Ref.png']]
|
148 |
|
149 |
## interface
|
150 |
+
gr.Interface(inference, [gr.inputs.Image(type="pil"), gr.inputs.Image(type="pil")], gr.outputs.Image(type="file"),title=title,description=description,article=article,theme ="peach",examples=examples).launch(enable_queue=True)
|