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.png','Ref.png']
|
| 96 |
|
| 97 |
## interface
|
| 98 |
+
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)
|
| 99 |
|
| 100 |
#################### 8K ##################
|
| 101 |
## inference
|