Ahsen Khaliq commited on
Commit
273d6eb
1 Parent(s): 2a222e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -8
app.py CHANGED
@@ -7,14 +7,7 @@ from random import randint
7
  import sys
8
  from subprocess import call
9
 
10
- for stuff in os.walk("."):
11
- print(stuff)
12
 
13
- with open("./permissions_test_file", "w") as file:
14
- pass
15
-
16
- with open("./experiments/permissions_test_file", "w") as file:
17
- pass
18
 
19
 
20
  def run_cmd(command):
@@ -24,7 +17,7 @@ def run_cmd(command):
24
  except KeyboardInterrupt:
25
  print("Process interrupted")
26
  sys.exit(1)
27
- run_cmd("wget https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth -P ./experiments/pretrained_models")
28
  run_cmd("python setup.py develop")
29
 
30
 
 
7
  import sys
8
  from subprocess import call
9
 
 
 
10
 
 
 
 
 
 
11
 
12
 
13
  def run_cmd(command):
 
17
  except KeyboardInterrupt:
18
  print("Process interrupted")
19
  sys.exit(1)
20
+ run_cmd("wget https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth -P .")
21
  run_cmd("python setup.py develop")
22
 
23