TroglodyteDerivations's picture
Create app.py
457de51 verified
raw
history blame contribute delete
631 Bytes
import streamlit as st
# Set page title and layout
st.set_page_config(page_title="Pokémon Classifier MoviePy Output", layout="wide")
# Title of the app
st.title("Pokémon Classifier MoviePy Output")
# Load and display the concatenated video
st.subheader("Prediction | LLM Output (Natural Language Stopping not implemented)")
# Define the filename of the concatenated video
video_filename = 'final_concatenated_output.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.")