import streamlit as st def main(): st.markdown("""

A I 星 瞳 宇 宙

""", unsafe_allow_html=True) st.markdown("""
by 数字星瞳企划 https://t.me/xingtong25680
""", unsafe_allow_html=True) image_path = "pic1.png" st.image(image_path) st.markdown(""" 注意 :  同一模型常规版与长语音版仅输入内容方式有所不同,请根据需求选择版本。 """, unsafe_allow_html=True) image_path = "pic2.png" st.image(image_path) # 日常2D直播版 audio_file = open("wav/2d.wav", "rb") col1, col2 = st.columns([4,5]) col1.markdown(""" 日常2D直播版 """, unsafe_allow_html=True) st.markdown("") audio_bytes = audio_file.read() col2.audio(audio_bytes, format="audio/wav") # 小王子朗读(常规版) audio_file = open("wav/prince.wav", "rb") col1, col2 = st.columns([4,5]) col1.markdown(""" 小王子朗读(常规版) """, unsafe_allow_html=True) st.markdown("") audio_bytes = audio_file.read() col2.audio(audio_bytes, format="audio/wav") # 冬牧场朗读(常规版) audio_file = open("wav/dongmuchang.wav", "rb") col1, col2 = st.columns([4,5]) col1.markdown(""" 冬牧场朗读(常规版) """, unsafe_allow_html=True) st.markdown("") audio_bytes = audio_file.read() col2.audio(audio_bytes, format="audio/wav") # 甜甜叫花鸡 audio_file = open("wav/jiaohuaji.wav", "rb") col1, col2 = st.columns([4,5]) col1.markdown(""" 甜甜叫花鸡 """, unsafe_allow_html=True) st.markdown("") audio_bytes = audio_file.read() col2.audio(audio_bytes, format="audio/wav") image_path = "pic2.png" st.image(image_path) # 小王子朗读(长语音版) audio_file = open("wav/prince.wav", "rb") col1, col2 = st.columns([4,5]) col1.markdown(""" 小王子朗读(长语音版) """, unsafe_allow_html=True) st.markdown("") audio_bytes = audio_file.read() col2.audio(audio_bytes, format="audio/wav") # 冬牧场朗读(长语音版) audio_file = open("wav/dongmuchang.wav", "rb") col1, col2 = st.columns([4,5]) col1.markdown(""" 冬牧场朗读(长语音版) """, unsafe_allow_html=True) st.markdown("") audio_bytes = audio_file.read() col2.audio(audio_bytes, format="audio/wav") image_path = "pic2.png" st.image(image_path) # TODO # 早期星瞳 st.markdown("""
早期星瞳:模型训练中,coming soon
""", unsafe_allow_html=True) # 电台星瞳 st.markdown("""
电台星瞳:模型训练中,coming soon
""", unsafe_allow_html=True) # 坏女人星瞳 st.markdown("""
坏女人星瞳:模型训练中,coming soon
""", unsafe_allow_html=True) # 学姐星瞳 st.markdown("""
学姐星瞳:素材整理中
""", unsafe_allow_html=True) # 纯真星瞳 st.markdown("""
纯真星瞳:素材整理中
""", unsafe_allow_html=True) # 小珍珠星瞳 st.markdown("""
小珍珠星瞳:素材整理中
""", unsafe_allow_html=True) if __name__ == "__main__": main()