-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.py
50 lines (42 loc) · 1.8 KB
/
App.py
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# python.exe -m pip install --upgrade pip
#pip install streamlit --upgrad
#成功部署的網站
#https://diff94-lyric-sketch-app-a4z7i5.streamlit.app/Data
import streamlit as st
st.set_page_config(
page_title="Lyric Sketch",
page_icon= "musical_score",
)
def main_page():
st.title("Introduction")
st.header("Lyric Sketch")
# st.sidebar.title("Menu")
st.write('The performance style of Tsai is usually combined with dancing, which is quite dissimilar to Chen’s. According to Spotify statistics, both artists belong to "taiwan pop," "mandopop," and "taiwan singer-songwriter" genres. Nevertheless, the two singers have different style tags. Tsai has other style labels such as “singaporean mandopop,” “mainland chinese pop,” and “taiwan idol pop,” which differ from Chen’s style labels (“chinese indie,” and “"taiwan indie”).*But, how are the linguistic features of their lyrics?* :sunglasses:')
st.video('https://www.youtube.com/watch?v=0EN3MnGEBXk')
st.video('https://www.youtube.com/watch?v=tXu-4BcZfE0')
if __name__=="__main__":
main_page()
# def Home():
# st.markdown("# Home ❄️")
# st.sidebar.markdown("# Home ❄️")
# def Data():
# st.markdown("# Data 🎉")
# st.sidebar.markdown("# Data 🎉")
# page_names_to_funcs = {
# "Main Page": main_page,
# "Home": Home,
# "Data": Data,
# }
# selected_page = st.sidebar.selectbox("Menu", page_names_to_funcs.keys())
# page_names_to_funcs[selected_page]()
# st.sidebar.success("Menu")
# from multiapp import MultiApp
# from apps import home,data,model
# app = MultiApp()
# #add all aplication
# app.add_app("Home",home.app)
# app.add_app("Data", data.app)
# app.add_app("Model", model.app)
# # The main app
# app.run()
# #streamlit run app.py