Ahsen Khaliq commited on
Commit
93fa241
·
1 Parent(s): 8f204e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,8 +13,8 @@ from pathlib import Path
13
  def inference(video):
14
  oldext = os.path.splitext(video)[1]
15
  os.rename(video, "test" + oldext)
16
- os.system("python3 deploy/ONNXRuntime/onnx_inference.py -i test"+oldtext)
17
- return "demo_output/test"+oldtext
18
 
19
 
20
  title = "Anime2Sketch"
 
13
  def inference(video):
14
  oldext = os.path.splitext(video)[1]
15
  os.rename(video, "test" + oldext)
16
+ os.system("python3 deploy/ONNXRuntime/onnx_inference.py -i test"+oldext)
17
+ return "demo_output/test"+oldext
18
 
19
 
20
  title = "Anime2Sketch"