Spaces:
Runtime error
Runtime error
Commit
·
93ac127
1
Parent(s):
5fd5bbc
Update app.py
Browse files- app.py +3 -2
- testsets/real-inputs/00003.jpg +0 -0
- testsets/real-inputs/0855.jpg +0 -0
- testsets/real-inputs/ali_eye.jpg +0 -0
- testsets/real-inputs/butterfly.jpg +0 -0
- testsets/real-inputs/chain-eye.jpg +0 -0
- testsets/real-inputs/gojou-eyes.jpg +0 -0
- testsets/real-inputs/shanghai.jpg +0 -0
- testsets/real-inputs/vagabond.jpg +0 -0
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("
|
| 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
|