Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,8 +2,6 @@ import os
|
|
2 |
import json
|
3 |
import gradio as gr
|
4 |
import cv2
|
5 |
-
import matplotlib.pyplot as plt # imported for compatibility if needed later
|
6 |
-
from collections import Counter
|
7 |
from google import genai
|
8 |
from google.genai import types
|
9 |
from google.genai.types import Part
|
@@ -168,7 +166,7 @@ iface = gr.Interface(
|
|
168 |
],
|
169 |
outputs=[
|
170 |
gr.Markdown(label="Security & Surveillance Analysis Report"),
|
171 |
-
gr.Gallery(label="Extracted Key Frames"
|
172 |
],
|
173 |
title="AI Video Analysis and Summariser Agent",
|
174 |
description=(
|
|
|
2 |
import json
|
3 |
import gradio as gr
|
4 |
import cv2
|
|
|
|
|
5 |
from google import genai
|
6 |
from google.genai import types
|
7 |
from google.genai.types import Part
|
|
|
166 |
],
|
167 |
outputs=[
|
168 |
gr.Markdown(label="Security & Surveillance Analysis Report"),
|
169 |
+
gr.Gallery(label="Extracted Key Frames", columns=2)
|
170 |
],
|
171 |
title="AI Video Analysis and Summariser Agent",
|
172 |
description=(
|