akhaliq HF staff commited on
Commit
92edfa4
1 Parent(s): 6e7ef69

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,10 +1,11 @@
1
  import os
2
  import sys
3
- os.system("wget https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/Mona_Lisa%2C_by_Leonardo_da_Vinci%2C_from_C2RMF_retouched.jpg/800px-Mona_Lisa%2C_by_Leonardo_da_Vinci%2C_from_C2RMF_retouched.jpg -O mona.jpg")
4
  os.system("pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cpu/torch1.10/index.html")
5
  os.system("pip install mmedit")
6
  os.system("git clone https://github.com/ckkelvinchan/RealBasicVSR.git")
7
  os.chdir("RealBasicVSR")
 
8
  import gradio as gr
9
  os.system("wget https://huggingface.co/akhaliq/RealBasicVSR_x4/resolve/main/RealBasicVSR_x4.pth")
10
  sys.path.append("RealBasicVSR")
 
1
  import os
2
  import sys
3
+
4
  os.system("pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cpu/torch1.10/index.html")
5
  os.system("pip install mmedit")
6
  os.system("git clone https://github.com/ckkelvinchan/RealBasicVSR.git")
7
  os.chdir("RealBasicVSR")
8
+ os.system("wget https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/Mona_Lisa%2C_by_Leonardo_da_Vinci%2C_from_C2RMF_retouched.jpg/800px-Mona_Lisa%2C_by_Leonardo_da_Vinci%2C_from_C2RMF_retouched.jpg -O mona.jpg")
9
  import gradio as gr
10
  os.system("wget https://huggingface.co/akhaliq/RealBasicVSR_x4/resolve/main/RealBasicVSR_x4.pth")
11
  sys.path.append("RealBasicVSR")