File size: 567 Bytes
48e2ae8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
import streamlit as st
import sys
import os
# Add the project root to Python path
sys.path.append(os.path.dirname(__file__))
from src.components.sidebar import render_sidebar
from src.components.story_form import render_story_form
# Configure the page
st.set_page_config(
page_title="Story Genius Maker",
page_icon=":pencil:",
layout="wide"
)
# Load CSS
with open("src/styles/main.css") as f:
st.markdown(f"<style>{f.read()}</style>", unsafe_allow_html=True)
# Render the app components
render_sidebar()
render_story_form() |