File size: 1,130 Bytes
a3cde4e
a561dd7
 
 
 
 
a3cde4e
 
a561dd7
 
 
 
 
 
a3cde4e
a561dd7
 
 
 
 
 
 
 
a3cde4e
a561dd7
 
 
 
 
a3cde4e
 
 
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
import streamlit as st
from components.home import show_home
from components.voice_cloning import show_voice_cloning
from components.speech_restoration import show_speech_restoration
from components.historical_personalities import show_historical_personalities
from utils.session_state import initialize_session_state

def main():
    st.set_page_config(page_title="MyVoice AI", page_icon="🎙️", layout="wide")
    initialize_session_state()

    st.sidebar.title("MyVoice AI")
    menu = ["Home", "Voice Cloning", "Speech Restoration", "Historical Personalities"]
    choice = st.sidebar.selectbox("Menu", menu)

    if choice == "Home":
        show_home()
    elif choice == "Voice Cloning":
        show_voice_cloning()
    elif choice == "Speech Restoration":
        show_speech_restoration()
    elif choice == "Historical Personalities":
        show_historical_personalities()

    st.sidebar.title("About")
    st.sidebar.info("""
    MyVoice AI revolutionizes human communication and preserves meaningful connections 
    through advanced audio processing technology.
    """)

if __name__ == "__main__":
    main()