| | |
| | |
| | """ |
| | SVAT - Synthetic Video Analyze Tool |
| | Created on Wed Oct 29 12:00:23 2025 |
| | @author: standarduser |
| | """ |
| |
|
| | import gradio as gr |
| | from tabs.tab_videoframes import create_tab_videoframes |
| | from tabs.tab_info import create_tab_info |
| | from tabs.tab_video_analysis import create_tab_video_analysis |
| | from tabs.tab_classify_image import create_tab_classify_image |
| | from processing.image_processing import process_image |
| |
|
| | |
| | with gr.Blocks() as demo: |
| | gr.Markdown("# SVAT - Synthetic Video Analyze Tool") |
| | gr.Markdown("*Analyze videos for synthetic/AI-generated content artifacts*") |
| | |
| | |
| | shared_video_frames = gr.State([]) |
| | |
| | with gr.Tabs(): |
| | |
| | video_frames_output = create_tab_videoframes("Video-Frames", process_image, shared_video_frames) |
| | |
| | |
| | video_analysis_frames = create_tab_video_analysis("Video Analysis") |
| | |
| | create_tab_classify_image("Classify Image") |
| | |
| | |
| | create_tab_info("Info") |
| | |
| | |
| | |
| | video_frames_output.change( |
| | fn=lambda frames: frames, |
| | inputs=[video_frames_output], |
| | outputs=[video_analysis_frames] |
| | ) |
| |
|
| |
|
| | if __name__ == "__main__": |
| | demo.launch() |