Spaces:
Runtime error
Runtime error
title
Browse files
app.py
CHANGED
@@ -126,11 +126,11 @@ def analyze_video(prompt, video, progress=gr.Progress()):
|
|
126 |
return analysis_result, processing_time
|
127 |
|
128 |
with gr.Blocks(theme="NoCrypt/miku") as demo:
|
129 |
-
gr.Label("Video Analyzer")
|
130 |
with gr.Accordion("Input"):
|
131 |
with gr.Row():
|
132 |
video_input = gr.Video(label="Upload Video")
|
133 |
-
prompt_input = gr.Textbox(label="Prompt", value="Analyze this video, give me advice on how to improve it and score from 0 to 100 for each point
|
134 |
with gr.Accordion("Output"):
|
135 |
with gr.Row():
|
136 |
analysis_result = gr.Textbox(label="Analysis Result")
|
|
|
126 |
return analysis_result, processing_time
|
127 |
|
128 |
with gr.Blocks(theme="NoCrypt/miku") as demo:
|
129 |
+
gr.Label("Video Analyzer with MiniCPM-V-2_6 and Whisper")
|
130 |
with gr.Accordion("Input"):
|
131 |
with gr.Row():
|
132 |
video_input = gr.Video(label="Upload Video")
|
133 |
+
prompt_input = gr.Textbox(label="Prompt", value="Analyze this video, give me advice on how to improve it and score from 0 to 100 for each point")
|
134 |
with gr.Accordion("Output"):
|
135 |
with gr.Row():
|
136 |
analysis_result = gr.Textbox(label="Analysis Result")
|