jschwab21 commited on
Commit
7dbced5
·
verified ·
1 Parent(s): d376d93

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -11
app.py CHANGED
@@ -121,17 +121,19 @@ h3 {
121
  }
122
  """
123
 
124
- with gr.Blocks(theme=custom_theme, css=css) as demo:
125
  with gr.Column():
126
- gr.Markdown("# **Sickstadium AI**", elem_classes="centered-markdown", elem_id="sickstadium-title")
127
- gr.Markdown("### Upload your videos. Find sick clips. Tell your truth.", elem_classes="centered-markdown")
128
- gr.Markdown("**Welcome to Sickstadium AI. Our goal is to empower content creators with the ability to tell their stories without the friction of traditional video editing software. Skip the timeline, and don't worry about your video editing skills. Upload your video, describe the clip you want, and let our AI video editor do the work for you. Get more info about the Sickstadium project at [Strongholdlabs.io](https://strongholdlabs.io/)**", elem_classes="centered-markdown")
129
- video_url = gr.Textbox(label="Video URL:", elem_id="video_url")
130
- video_file = gr.File(label="Upload Video File:", elem_id="video_file")
131
- description = gr.Textbox(label="Describe your clip:", elem_id="description")
132
- submit_button = gr.Button("Process Video", elem_id="submit_button")
133
- video_output = gr.Video(label="Processed Video", elem_id="video_output")
134
- download_output = gr.File(label="Download Processed Video", elem_id="download_output")
135
- submit_button.click(fn=display_results, inputs=[video_url, video_file, description], outputs=[video_output, download_output])
 
 
136
 
137
  demo.launch()
 
121
  }
122
  """
123
 
124
+ with gr.Blocks() as demo:
125
  with gr.Column():
126
+ video_url = gr.Textbox(label="Video URL")
127
+ video_file = gr.File(label="Upload Video File")
128
+ description = gr.Textbox(label="Describe your clip")
129
+ submit_button = gr.Button("Process Video")
130
+ video_output = gr.Video(label="Processed Video")
131
+ download_output = gr.File(label="Download Processed Video")
132
+
133
+ submit_button.click(
134
+ fn=display_results,
135
+ inputs=[video_url, video_file, description],
136
+ outputs=[video_output, download_output]
137
+ )
138
 
139
  demo.launch()