lcjln commited on
Commit
5216f05
ยท
verified ยท
1 Parent(s): 2ea566c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -29
app.py CHANGED
@@ -37,20 +37,7 @@ st.write("<br><br>", unsafe_allow_html=True) # 2์ค„ ๋„์–ด์“ฐ๊ธฐ
37
  st.markdown('#### ์ ‘๊ทผ์„ฑ ๋–จ์–ด์ง€๋Š” ๋„์‹œ ๊ณต์›... ์นดํŽ˜๋กœ ๋ฐœ๊ฑธ์Œ ๋Œ๋ฆฌ๋Š” ์‹œ๋ฏผ๋“ค ')
38
  st.write("<br>", unsafe_allow_html=True) # 1์ค„ ๋„์–ด์“ฐ๊ธฐ
39
  # 2๋ฌธ๋‹จ ์ฒซ ๋ฒˆ์งธ ์‚ฌ์ง„ ์‚ฝ์ž…
40
- image_path = 'photo3.jpg'
41
- caption = '๊ธฐ๊ฐ„ : 2006๋…„ ์ „ํ›„ 18๋…„'
42
- # HTML๊ณผ CSS๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์ด๋ฏธ์ง€ ์ค‘์•™ ์ •๋ ฌ
43
- st.markdown(
44
- f"""
45
- <div style="display: flex; justify-content: center;">
46
- <img src="{image_path}" alt="Image" style="width: auto; height: auto;">
47
- </div>
48
- <div style="text-align: center;">
49
- <p>{caption}</p>
50
- </div>
51
- """,
52
- unsafe_allow_html=True
53
- )
54
  st.write("<br>", unsafe_allow_html=True) # 1์ค„ ๋„์–ด์“ฐ๊ธฐ
55
  # 2๋ฌธ๋‹จ ๋ฌธ๋‹จ1
56
  st.write('''๊ณต๊ณต๋ฐ์ดํ„ฐํฌํ„ธ์— ๋”ฐ๋ฅด๋ฉด, ์˜ฌํ•ด 1์›” ๊ธฐ์ค€ ์ „๊ตญ์— ์žˆ๋Š” ์นดํŽ˜๋Š” ์•ฝ 9๋งŒ 6์ฒœ ๊ฐœ์— ๋‹ฌํ•œ๋‹ค. ๋ฐ˜๋ฉด ๊ณต์› ๊ฐœ์ˆ˜๋Š” ์•ฝ 1๋งŒ 8์ฒœ ๊ฐœ์— ๋ถˆ๊ณผํ•˜๋‹ค. ๊ณต์›์ด ์นดํŽ˜๋ณด๋‹ค 5๋ฐฐ ๋„˜๊ฒŒ ์ ๋‹ค๋Š” ๊ฑด, ๊ทธ๋งŒํผ ์ ‘๊ทผ์„ฑ์ด ๋–จ์–ด์ง„๋‹ค๋Š” ์˜๋ฏธ๋‹ค.
@@ -62,21 +49,7 @@ st.write('''์˜์™ธ์˜ ์‚ฌ์‹ค์€, ํ˜„์žฌ ๊ณต์› ๊ฐœ์ˆ˜๊ฐ€ ๊ณผ๊ฑฐ์— ๋น„ํ•ด ์ƒ๋‹น
62
  st.write("<br>", unsafe_allow_html=True) # 1์ค„ ๋„์–ด์“ฐ๊ธฐ
63
  # 2๋ฌธ๋‹จ ๋‘ ๋ฒˆ์งธ ์‚ฌ์ง„ ์‚ฝ์ž…
64
  st.write("<br>", unsafe_allow_html=True) # 1์ค„ ๋„์–ด์“ฐ๊ธฐ
65
- image_path = 'photo4.jpg'
66
- caption = '๊ธฐ๊ฐ„ : 2006๋…„ ์ „ํ›„ 18๋…„'
67
-
68
- # HTML๊ณผ CSS๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์ด๋ฏธ์ง€ ์ค‘์•™ ์ •๋ ฌ
69
- st.markdown(
70
- f"""
71
- <div style="display: flex; justify-content: center;">
72
- <img src="{image_path}" alt="Image" style="width: auto; height: auto;">
73
- </div>
74
- <div style="text-align: center;">
75
- <p>{caption}</p>
76
- </div>
77
- """,
78
- unsafe_allow_html=True
79
- )
80
  st.write("<br>", unsafe_allow_html=True) # 1์ค„ ๋„์–ด์“ฐ๊ธฐ
81
  # 2๋ฌธ๋‹จ ๋ฌธ๋‹จ2
82
  st.write('''์„œ์šธ์„ ๊ธฐ์ค€์œผ๋กœ, ๋ฒ•๋ฅ  ์‹œํ–‰์œผ๋กœ๋ถ€ํ„ฐ 18๋…„์ด ์ง€๋‚œ ํ˜„์žฌ(2005\~2024)์˜ ๊ณต์› ๊ฐœ์ˆ˜์™€ ๋ฒ•๋ฅ  ์‹œํ–‰ ์ „ ๊ณผ๊ฑฐ 18๋…„(1987\~2005)์˜ ๊ณต์› ๊ฐœ์ˆ˜๋ฅผ ๋น„๊ตํ•œ ๊ทธ๋ž˜ํ”„๋‹ค.
 
37
  st.markdown('#### ์ ‘๊ทผ์„ฑ ๋–จ์–ด์ง€๋Š” ๋„์‹œ ๊ณต์›... ์นดํŽ˜๋กœ ๋ฐœ๊ฑธ์Œ ๋Œ๋ฆฌ๋Š” ์‹œ๋ฏผ๋“ค ')
38
  st.write("<br>", unsafe_allow_html=True) # 1์ค„ ๋„์–ด์“ฐ๊ธฐ
39
  # 2๋ฌธ๋‹จ ์ฒซ ๋ฒˆ์งธ ์‚ฌ์ง„ ์‚ฝ์ž…
40
+ st.image('photo3.jpg', caption='์นดํŽ˜ : 2024.01 ๊ธฐ์ค€, ๊ณต์› : 2024.05 ๊ธฐ์ค€', width = 600, height = 400)
 
 
 
 
 
 
 
 
 
 
 
 
 
41
  st.write("<br>", unsafe_allow_html=True) # 1์ค„ ๋„์–ด์“ฐ๊ธฐ
42
  # 2๋ฌธ๋‹จ ๋ฌธ๋‹จ1
43
  st.write('''๊ณต๊ณต๋ฐ์ดํ„ฐํฌํ„ธ์— ๋”ฐ๋ฅด๋ฉด, ์˜ฌํ•ด 1์›” ๊ธฐ์ค€ ์ „๊ตญ์— ์žˆ๋Š” ์นดํŽ˜๋Š” ์•ฝ 9๋งŒ 6์ฒœ ๊ฐœ์— ๋‹ฌํ•œ๋‹ค. ๋ฐ˜๋ฉด ๊ณต์› ๊ฐœ์ˆ˜๋Š” ์•ฝ 1๋งŒ 8์ฒœ ๊ฐœ์— ๋ถˆ๊ณผํ•˜๋‹ค. ๊ณต์›์ด ์นดํŽ˜๋ณด๋‹ค 5๋ฐฐ ๋„˜๊ฒŒ ์ ๋‹ค๋Š” ๊ฑด, ๊ทธ๋งŒํผ ์ ‘๊ทผ์„ฑ์ด ๋–จ์–ด์ง„๋‹ค๋Š” ์˜๋ฏธ๋‹ค.
 
49
  st.write("<br>", unsafe_allow_html=True) # 1์ค„ ๋„์–ด์“ฐ๊ธฐ
50
  # 2๋ฌธ๋‹จ ๋‘ ๋ฒˆ์งธ ์‚ฌ์ง„ ์‚ฝ์ž…
51
  st.write("<br>", unsafe_allow_html=True) # 1์ค„ ๋„์–ด์“ฐ๊ธฐ
52
+ st.image('photo4.jpg', caption='๊ธฐ๊ฐ„ : 2006๋…„ ์ „ํ›„ 18๋…„')
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  st.write("<br>", unsafe_allow_html=True) # 1์ค„ ๋„์–ด์“ฐ๊ธฐ
54
  # 2๋ฌธ๋‹จ ๋ฌธ๋‹จ2
55
  st.write('''์„œ์šธ์„ ๊ธฐ์ค€์œผ๋กœ, ๋ฒ•๋ฅ  ์‹œํ–‰์œผ๋กœ๋ถ€ํ„ฐ 18๋…„์ด ์ง€๋‚œ ํ˜„์žฌ(2005\~2024)์˜ ๊ณต์› ๊ฐœ์ˆ˜์™€ ๋ฒ•๋ฅ  ์‹œํ–‰ ์ „ ๊ณผ๊ฑฐ 18๋…„(1987\~2005)์˜ ๊ณต์› ๊ฐœ์ˆ˜๋ฅผ ๋น„๊ตํ•œ ๊ทธ๋ž˜ํ”„๋‹ค.