File size: 810 Bytes
d1033d4
c8db51a
490e475
d1033d4
 
 
f94169f
c8db51a
 
 
 
90081e5
 
d1033d4
 
c8db51a
 
 
 
 
 
 
 
 
 
 
 
 
 
90081e5
 
d1033d4
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
"""
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()