jschwab21 commited on
Commit
4757b5e
·
verified ·
1 Parent(s): 0ddaca8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -192,9 +192,9 @@ with gr.Blocks(theme=custom_theme, css=css) as demo:
192
  video_file = gr.File(label="Upload Video File:", type="binary")
193
  description = gr.Textbox(label="Describe your clip:")
194
  submit_button = gr.Button("Process Video", elem_id="submit_button")
195
- video_output = gr.Video(label="Processed Video")
196
- download_output = gr.File(label="Download Processed Video")
197
- sentiment_output = gr.Plot(label="Sentiment Analysis") # Changed from Markdown to Plot
198
  submit_button.click(fn=display_results, inputs=[video_url, video_file, description], outputs=[video_output, download_output, sentiment_output])
199
 
200
  demo.launch()
 
192
  video_file = gr.File(label="Upload Video File:", type="binary")
193
  description = gr.Textbox(label="Describe your clip:")
194
  submit_button = gr.Button("Process Video", elem_id="submit_button")
195
+ video_output = gr.Video(label="Processed Video:")
196
+ download_output = gr.File(label="Download Processed Video:")
197
+ sentiment_output = gr.Plot(label="Predicted User Feedback:") # Changed from Markdown to Plot
198
  submit_button.click(fn=display_results, inputs=[video_url, video_file, description], outputs=[video_output, download_output, sentiment_output])
199
 
200
  demo.launch()