jjourney1125 commited on
Commit
42a53f0
1 Parent(s): 16afb2a

Debug app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,5 +1,6 @@
1
  import os
2
  import cv2
 
3
  import gradio as gr
4
  from PIL import Image
5
  import torch
@@ -30,7 +31,7 @@ def inference(img):
30
 
31
  title = "Swin2SR"
32
  description = "Gradio demo for Swin2SR."
33
- 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>"
34
 
35
  examples=[['butterflyx4.png']]
36
  gr.Interface(
 
1
  import os
2
  import cv2
3
+ import requests
4
  import gradio as gr
5
  from PIL import Image
6
  import torch
 
31
 
32
  title = "Swin2SR"
33
  description = "Gradio demo for Swin2SR."
34
+ 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>"
35
 
36
  examples=[['butterflyx4.png']]
37
  gr.Interface(