Ahsen Khaliq commited on
Commit
6bc2cf6
1 Parent(s): 78eae8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -8,7 +8,7 @@ import sys
8
  from subprocess import call
9
 
10
 
11
- torch.hub.download_url_to_file('https://images.pexels.com/photos/1668928/pexels-photo-1668928.jpeg', 'city.jpeg')
12
 
13
 
14
  def run_cmd(command):
@@ -43,7 +43,7 @@ def inference(img):
43
 
44
 
45
  title = "Real-ESRGAN"
46
- description = "demo for Real-ESRGAN. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
47
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2107.10833'>Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Data</a> | <a href='https://github.com/xinntao/Real-ESRGAN'>Github Repo</a></p>"
48
 
49
  gr.Interface(
@@ -54,6 +54,6 @@ gr.Interface(
54
  description=description,
55
  article=article,
56
  examples=[
57
- ['city.jpeg']
58
  ]
59
  ).launch(debug=True)
 
8
  from subprocess import call
9
 
10
 
11
+ torch.hub.download_url_to_file('https://raw.githubusercontent.com/xinntao/Real-ESRGAN/master/inputs/0014.jpg', 'cat.jpg')
12
 
13
 
14
  def run_cmd(command):
 
43
 
44
 
45
  title = "Real-ESRGAN"
46
+ description = "Gradio demo for Real-ESRGAN. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
47
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2107.10833'>Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Data</a> | <a href='https://github.com/xinntao/Real-ESRGAN'>Github Repo</a></p>"
48
 
49
  gr.Interface(
 
54
  description=description,
55
  article=article,
56
  examples=[
57
+ ['cat.jpg']
58
  ]
59
  ).launch(debug=True)