Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
c709c3d
1
Parent(s):
93fa241
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,10 +11,9 @@ from pathlib import Path
|
|
| 11 |
|
| 12 |
|
| 13 |
def inference(video):
|
| 14 |
-
|
| 15 |
-
os.
|
| 16 |
-
|
| 17 |
-
return "demo_output/test"+oldext
|
| 18 |
|
| 19 |
|
| 20 |
title = "Anime2Sketch"
|
|
|
|
| 11 |
|
| 12 |
|
| 13 |
def inference(video):
|
| 14 |
+
os.system("python3 deploy/ONNXRuntime/onnx_inference.py -i "+video)
|
| 15 |
+
os.system("ls demo_output/")
|
| 16 |
+
return "demo_output/*.mp4"
|
|
|
|
| 17 |
|
| 18 |
|
| 19 |
title = "Anime2Sketch"
|