import os import gradio as gr os.system("gdown https://drive.google.com/uc?id=1RE5vaKHYt_TL0cXNn6FmjO7aZx3sVfVA") def inference(video): os.system("python3 deploy/ONNXRuntime/onnx_inference.py -i "+video) return "demo_output/"+video title = "Anime2Sketch" description = "demo for Anime2Sketch. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below." article = "
Adversarial Open Domain Adaption for Sketch-to-Photo Synthesis | Github Repo
" gr.Interface( inference, "video", "playable_video", title=title, description=description, article=article ).launch(debug=True)