digitalxingtong commited on
Commit
00e5a9a
1 Parent(s): 7706c66

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -2
app.py CHANGED
@@ -13,10 +13,10 @@ def main():
13
  </div>
14
  """, unsafe_allow_html=True)
15
 
16
- image_path = "download.png"
17
 
18
 
19
- st.image(image_path, width=100)
20
 
21
 
22
 
@@ -25,7 +25,10 @@ def main():
25
  st.markdown("""
26
  <span style="background-color: yellow; font-size: xx-large">注意</span> :&nbsp;&nbsp;同一模型常规版与长语音版仅输入内容方式有所不同,请根据需求选择版本。
27
  """, unsafe_allow_html=True)
 
 
28
 
 
29
  # 日常2D直播版
30
  audio_file = open("wav/2d.wav", "rb")
31
  col1, col2 = st.columns([4,5])
@@ -69,6 +72,10 @@ def main():
69
  audio_bytes = audio_file.read()
70
  col2.audio(audio_bytes, format="audio/wav")
71
 
 
 
 
 
72
  # 小王子朗读(长语音版)
73
  audio_file = open("wav/prince.wav", "rb")
74
  col1, col2 = st.columns([4,5])
@@ -90,7 +97,10 @@ def main():
90
  st.markdown("")
91
  audio_bytes = audio_file.read()
92
  col2.audio(audio_bytes, format="audio/wav")
 
 
93
 
 
94
  # TODO
95
 
96
  # 早期星瞳
 
13
  </div>
14
  """, unsafe_allow_html=True)
15
 
16
+ image_path = "pic1.png"
17
 
18
 
19
+ st.image(image_path)
20
 
21
 
22
 
 
25
  st.markdown("""
26
  <span style="background-color: yellow; font-size: xx-large">注意</span> :&nbsp;&nbsp;同一模型常规版与长语音版仅输入内容方式有所不同,请根据需求选择版本。
27
  """, unsafe_allow_html=True)
28
+ image_path = "pic2.png"
29
+
30
 
31
+ st.image(image_path)
32
  # 日常2D直播版
33
  audio_file = open("wav/2d.wav", "rb")
34
  col1, col2 = st.columns([4,5])
 
72
  audio_bytes = audio_file.read()
73
  col2.audio(audio_bytes, format="audio/wav")
74
 
75
+ image_path = "pic2.png"
76
+
77
+
78
+ st.image(image_path)
79
  # 小王子朗读(长语音版)
80
  audio_file = open("wav/prince.wav", "rb")
81
  col1, col2 = st.columns([4,5])
 
97
  st.markdown("")
98
  audio_bytes = audio_file.read()
99
  col2.audio(audio_bytes, format="audio/wav")
100
+ image_path = "pic2.png"
101
+
102
 
103
+ st.image(image_path)
104
  # TODO
105
 
106
  # 早期星瞳