will / app.py
matt1847's picture
変更: Streamlit UIに戻す
c8db51a
raw
history blame contribute delete
810 Bytes
"""
WILL - Pure Computational Will (Streamlit版)
言語モデルにランダムノイズを入力し、
人間の問いかけなしにモデルの構造だけが
出力するものを観測する
"""
import streamlit as st
from src.ui.streamlit.styles import CUSTOM_CSS
from src.ui.streamlit.pages import render_generate_page, render_concept_page
def main():
"""アプリケーションのエントリーポイント"""
# ページ設定
st.set_page_config(page_title="will", page_icon="", layout="centered")
# カスタムCSS適用
st.markdown(CUSTOM_CSS, unsafe_allow_html=True)
# タブ構成
tab1, tab2 = st.tabs(["GENERATE", "CONCEPT"])
with tab1:
render_generate_page()
with tab2:
render_concept_page()
if __name__ == "__main__":
main()