import os import sys import streamlit as st # Add the package directory to Python path sys.path.append(os.path.dirname(os.path.abspath(__file__))) # Import and run the Streamlit app from hype_pack.streamlit_app import main # Remove the duplicate page config from streamlit_app.py if __name__ == "__main__": # Enable CORS for audio streaming headers = { "Access-Control-Allow-Origin": "*", "Access-Control-Allow-Methods": "GET, POST, OPTIONS", "Access-Control-Allow-Headers": "Content-Type" } main()