jjourney1125 commited on
Commit
93ac127
1 Parent(s): 5fd5bbc

Update app.py

Browse files
app.py CHANGED
@@ -335,7 +335,7 @@ if __name__ == '__main__':
335
  '''
336
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2209.11345' target='_blank'>Swin2SR: SwinV2 Transformer for Compressed Image Super-Resolution and Restoration</a> | <a href='https://github.com/mv-lab/swin2sr' target='_blank'>Github Repo</a></p>"
337
 
338
- examples= glob.glob("samples/*.jpg")
339
  gr.Interface(
340
  main,
341
  #gr.Image().style(full_width=True, height=60),
@@ -345,4 +345,5 @@ if __name__ == '__main__':
345
  description=description,
346
  article=article,
347
  examples=examples,
348
- ).launch(enable_queue=True)
 
 
335
  '''
336
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2209.11345' target='_blank'>Swin2SR: SwinV2 Transformer for Compressed Image Super-Resolution and Restoration</a> | <a href='https://github.com/mv-lab/swin2sr' target='_blank'>Github Repo</a></p>"
337
 
338
+ examples= glob.glob("testsets/real-inputs/*.jpg")
339
  gr.Interface(
340
  main,
341
  #gr.Image().style(full_width=True, height=60),
 
345
  description=description,
346
  article=article,
347
  examples=examples,
348
+ ).launch(enable_queue=True,
349
+ share=True)
testsets/real-inputs/00003.jpg ADDED
testsets/real-inputs/0855.jpg ADDED
testsets/real-inputs/ali_eye.jpg ADDED
testsets/real-inputs/butterfly.jpg ADDED
testsets/real-inputs/chain-eye.jpg ADDED
testsets/real-inputs/gojou-eyes.jpg ADDED
testsets/real-inputs/shanghai.jpg ADDED
testsets/real-inputs/vagabond.jpg ADDED