akhaliq HF staff commited on
Commit
0c9aebb
1 Parent(s): 0d2ea10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,9 +1,11 @@
1
  import os
 
2
  os.system("mim install mmcv-full")
3
  os.system("git clone https://github.com/ckkelvinchan/RealBasicVSR.git")
4
  os.chdir("RealBasicVSR")
5
  import gradio as gr
6
  os.system("wget https://huggingface.co/akhaliq/RealBasicVSR_x4/resolve/main/RealBasicVSR_x4.pth")
 
7
 
8
  os.mkdir("test")
9
  def inference(img):
 
1
  import os
2
+ import sys
3
  os.system("mim install mmcv-full")
4
  os.system("git clone https://github.com/ckkelvinchan/RealBasicVSR.git")
5
  os.chdir("RealBasicVSR")
6
  import gradio as gr
7
  os.system("wget https://huggingface.co/akhaliq/RealBasicVSR_x4/resolve/main/RealBasicVSR_x4.pth")
8
+ sys.path.append("RealBasicVSR")
9
 
10
  os.mkdir("test")
11
  def inference(img):