FitnessEquation / app.py
Nico8800
add first containers: voice recorder and video display
d296c34
raw
history blame
744 Bytes
import streamlit as st
from moviepy.editor import AudioClip
import tempfile
import os
from st_audiorec import st_audiorec
st.set_page_config(layout="wide", initial_sidebar_state="collapsed")
# Create two columns
col1, col2 = st.columns(2)
# First column containers
with col1:
st.subheader("Audio Recorder")
wav_audio_data = st_audiorec()
st.subheader("LLM answering")
# Add your content here
st.subheader("Movement Analysis")
# Add your content here
# Second column containers
with col2:
st.subheader("Sports Agenda")
# Add your content here
st.subheader("Video Analysis")
video_path = "data/video/temp.mp4"
st.video(video_path)
st.subheader("Graph Displayer")
# Add your content here