TroglodyteDerivations's picture
Create app.py
1217f01 verified
raw
history blame
439 Bytes
import streamlit as st
# Set page title and layout
st.set_page_config(page_title="Thin Plate Spline Motion Model", layout="wide")
# Title of the app
st.title("Thin Plate Spline Motion Model")
video_filename = 'final_output_video.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.")