codeslake commited on
Commit
84d5580
·
1 Parent(s): 7c44af9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -92,7 +92,7 @@ LR = resize(Image.open('LR.png')).save('LR.png')
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)
 
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)