AlanTsai-0329 commited on
Commit
1c67e66
1 Parent(s): 7cf5e9d

Upload 2 files

Browse files
Files changed (2) hide show
  1. app.py +28 -9
  2. requirements.txt +0 -0
app.py CHANGED
@@ -1,12 +1,31 @@
1
  import streamlit as st
 
2
 
3
- st.header("【期末專題】文字礦工")
4
- st.subheader("PTT 版面分析應用")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
 
6
- st.header("組員名單")
7
- st.markdown("""
8
- - 111AB8005 張云姵
9
- - 111AB8017 林維婕
10
- - 111AB8023 陳玉涵
11
- - 111AB8026 蔡尚宏
12
- """)
 
1
  import streamlit as st
2
+ from PIL import Image
3
 
4
+ st.markdown("<h1 style='text-align: center; color: black;'>【期末專題】文字礦工</h1>", unsafe_allow_html=True)
5
+
6
+ image = Image.open('pages\docs\image\人工智慧期末報告.png')
7
+ col1, col2, col3 = st.columns([0.2, 5, 0.2])
8
+ col2.image(image, use_column_width=True)
9
+
10
+ st.subheader("組員名單")
11
+ p1, p2, p3, p4 = st.columns(4)
12
+ with p1:
13
+ st.markdown("<h5 style='text-align: center; color: black;'>111AB8005 張云姵</h5>", unsafe_allow_html=True)
14
+ image = Image.open('pages\docs\image\AB05.png')
15
+ st.image(image, use_column_width=True)
16
+
17
+ with p2:
18
+ st.markdown("<h5 style='text-align: center; color: black;'>111AB8017 林維婕</h5>", unsafe_allow_html=True)
19
+ image = Image.open('pages\docs\image\AB17.png')
20
+ st.image(image, use_column_width=True)
21
+
22
+ with p3:
23
+ st.markdown("<h5 style='text-align: center; color: black;'>111AB8023 陳玉涵</h5>", unsafe_allow_html=True)
24
+ image = Image.open('pages\docs\image\AB23.png')
25
+ st.image(image, use_column_width=True)
26
+
27
+ with p4:
28
+ st.markdown("<h5 style='text-align: center; color: black;'>111AB8026 蔡尚宏</h5>", unsafe_allow_html=True)
29
+ image = Image.open('pages\docs\image\AB26.png')
30
+ st.image(image, use_column_width=True)
31
 
 
 
 
 
 
 
 
requirements.txt CHANGED
Binary files a/requirements.txt and b/requirements.txt differ