Ahsen Khaliq commited on
Commit
b92fc44
1 Parent(s): 21c0ae8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -1,4 +1,7 @@
1
  import os
 
 
 
2
  import random
3
  import gradio as gr
4
  from PIL import Image
@@ -10,6 +13,7 @@ import psutil
10
 
11
 
12
 
 
13
  torch.hub.download_url_to_file('http://people.csail.mit.edu/billf/project%20pages/sresCode/Markov%20Random%20Fields%20for%20Super-Resolution_files/100075_lowres.jpg', 'bear.jpg')
14
 
15
 
 
1
  import os
2
+ os.system("git clone https://github.com/xinntao/Real-ESRGAN.git")
3
+ os.chdir("Real-ESRGAN")
4
+ os.system("pwd")
5
  import random
6
  import gradio as gr
7
  from PIL import Image
 
13
 
14
 
15
 
16
+
17
  torch.hub.download_url_to_file('http://people.csail.mit.edu/billf/project%20pages/sresCode/Markov%20Random%20Fields%20for%20Super-Resolution_files/100075_lowres.jpg', 'bear.jpg')
18
 
19