Zeph27 commited on
Commit
bdeec31
Β·
1 Parent(s): 2f8463c

prompt update

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -125,13 +125,14 @@ def analyze_video(prompt, video, progress=gr.Progress()):
125
  progress(1, desc="Complete")
126
  return analysis_result, processing_time
127
 
128
- with gr.Blocks() as demo:
129
- gr.Markdown("# Video Analyzer")
130
- with gr.Row():
131
- with gr.Column():
132
- prompt_input = gr.Textbox(label="Prompt", value="Analyze this video, give me advice on how to improve it")
133
  video_input = gr.Video(label="Upload Video")
134
- with gr.Column():
 
135
  analysis_result = gr.Textbox(label="Analysis Result")
136
  processing_time = gr.Textbox(label="Processing Time")
137
 
 
125
  progress(1, desc="Complete")
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
+ 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.")
133
  video_input = gr.Video(label="Upload Video")
134
+ with gr.Accordion("Output"):
135
+ with gr.Row():
136
  analysis_result = gr.Textbox(label="Analysis Result")
137
  processing_time = gr.Textbox(label="Processing Time")
138