Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
93fa241
1
Parent(s):
8f204e9
Update app.py
Browse files
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"+
|
| 17 |
-
return "demo_output/test"+
|
| 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"
|