jschwab21 commited on
Commit
cf9a3ea
·
verified ·
1 Parent(s): 9846923

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -8,12 +8,14 @@ def display_results(video_url, description):
8
  return "No matching scene found", None
9
 
10
  with gr.Blocks() as demo:
11
- gr.Markdown("# My AI Video Processing App")
 
12
  video_url = gr.Textbox(label="Video URL or Filepath")
 
13
  description = gr.Textbox(label="Description of desired clip")
 
14
  video_output = gr.Video(label="Processed Video")
15
  download_output = gr.File(label="Download Processed Video")
16
- submit_button = gr.Button("Process Video")
17
  submit_button.click(fn=display_results, inputs=[video_url, description], outputs=[video_output, download_output])
18
 
19
  demo.launch()
 
8
  return "No matching scene found", None
9
 
10
  with gr.Blocks() as demo:
11
+ gr.Markdown("# Welcome to Sickstadium AI!")
12
+ gr.Markdown("Enter the URL of a YouTube video:")
13
  video_url = gr.Textbox(label="Video URL or Filepath")
14
+ gr.Markdown("Describe the content you want to clip:")
15
  description = gr.Textbox(label="Description of desired clip")
16
+ submit_button = gr.Button("Process Video")
17
  video_output = gr.Video(label="Processed Video")
18
  download_output = gr.File(label="Download Processed Video")
 
19
  submit_button.click(fn=display_results, inputs=[video_url, description], outputs=[video_output, download_output])
20
 
21
  demo.launch()