TroglodyteDerivations commited on
Commit
39d89c3
·
verified ·
1 Parent(s): b6d9231

Updated lines 17-24 with: video_filename = 'jc.mp4' try: with open(video_filename, 'rb') as f: video_bytes = f.read() st.video(video_bytes) except FileNotFoundError: st.warning(f"Archivo de video {video_filename} no encontrado.")

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -3,10 +3,19 @@ import streamlit as st
3
  st.set_page_config(page_title="Thin Plate Spline Motion Model", layout="wide")
4
 
5
  # Title of the app
6
- st.title("Thin Plate Spline Motion Model")
7
 
8
  video_filename = 'final_output_video.mp4'
9
 
 
 
 
 
 
 
 
 
 
10
  try:
11
  with open(video_filename, 'rb') as f:
12
  video_bytes = f.read()
 
3
  st.set_page_config(page_title="Thin Plate Spline Motion Model", layout="wide")
4
 
5
  # Title of the app
6
+ st.title("Thin Plate Spline Motion Model | Driving motion deriving from jc.mp4")
7
 
8
  video_filename = 'final_output_video.mp4'
9
 
10
+ try:
11
+ with open(video_filename, 'rb') as f:
12
+ video_bytes = f.read()
13
+ st.video(video_bytes)
14
+ except FileNotFoundError:
15
+ st.warning(f"Archivo de video {video_filename} no encontrado.")
16
+
17
+ video_filename = 'jc.mp4'
18
+
19
  try:
20
  with open(video_filename, 'rb') as f:
21
  video_bytes = f.read()