Spaces:
Build error
Build error
import gradio as gr | |
from utils import * | |
with gr.Blocks() as demo: | |
gr.Markdown("# RESIDUAL-BASED FORENSIC COMPARISON OF VIDEO SEQUENCES") | |
with gr.Tab(""): | |
with gr.Row(): | |
with gr.Column(): | |
v1 = gr.Video(label="Forged Video") | |
v2 = gr.Video(label="Orignal Video") | |
encrypt_output = gr.Video(label="Mahalanobis distance") | |
decrypt_output = gr.Textbox(lines=1, label="output") | |
encrypt_button = gr.Button("Process") | |
gr.Markdown("It takes around 10min to process 10sec videos") | |
encrypt_button.click(final_main, inputs=[v1, v2 ], outputs=[encrypt_output,decrypt_output]) | |
demo.launch(share=False); |