Zeph27 commited on
Commit
c5be64b
Β·
1 Parent(s): 8b20eea
Files changed (1) hide show
  1. app.py +2 -2
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. Finally, give me a total score from 0 to 100.")
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")