Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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="
|
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()
|