Upload app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
# -*- coding: utf-8 -*-
|
| 3 |
+
"""
|
| 4 |
+
Created on Wed Oct 29 12:00:23 2025
|
| 5 |
+
|
| 6 |
+
@author: standarduser
|
| 7 |
+
"""
|
| 8 |
+
|
| 9 |
+
import gradio as gr
|
| 10 |
+
from tabs.tab_videoframes import create_tab_videoframes
|
| 11 |
+
from tabs.tab_help import create_tab_help
|
| 12 |
+
from processing.image_processing import process_image
|
| 13 |
+
|
| 14 |
+
# Gradio App erstellen
|
| 15 |
+
with gr.Blocks() as demo:
|
| 16 |
+
gr.Markdown("# SVAT - Synthetic Video Analyzing Tool")
|
| 17 |
+
|
| 18 |
+
with gr.Tabs():
|
| 19 |
+
create_tab_videoframes("Video-Frames", process_image)
|
| 20 |
+
create_tab_help("Help")
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
if __name__ == "__main__":
|
| 24 |
+
demo.launch()
|