has12zen
Test
c379def
raw
history blame
627 Bytes
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")
encrypt_button.click(final_main, inputs=[v1, v2 ], outputs=[encrypt_output,decrypt_output])
demo.launch(share=False);