minju0730 commited on
Commit
be5b53c
Β·
verified Β·
1 Parent(s): f0e6dd9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -86,14 +86,12 @@ with open('bokeh_plot.html', 'r', encoding='utf-8') as f:
86
  html_content1 = f.read()
87
  st.components.v1.html(html_content1, height=500)
88
 
89
- st.write("<br>", unsafe_allow_html=True)
90
-
91
  st.write('''무인점포의 κ°€μž₯ 큰 μž₯점은 ν‚€μ˜€μŠ€ν¬ λ„μž…μœΌλ‘œ μΈν•œ 인건비 μ ˆκ°μ΄λ‹€.
92
  고객의 μž…μž₯μ—μ„œλ„ μƒν’ˆμ„ νŽΈν•˜κ²Œ λ³Ό 수 μžˆλ‹€.
93
  μ‹€μ œλ‘œ ν•œ 20λŒ€ μ΄μš©μžλŠ” "μ•„λ¬΄λž˜λ„ 주인이 μ—†λ‹€ λ³΄λ‹ˆκΉŒ 눈치λ₯Ό 보지 μ•Šμ•„λ„ λ˜μ–΄μ„œ μ’‹λ‹€. λ˜ν•œ 물건을 μžμ„Ένžˆ λ³Ό 수 μžˆλŠ” 자유둜운 μ‡Όν•‘ ν™˜κ²½ λ•Œλ¬Έμ— 무인점포λ₯Ό 자주 μ΄μš©ν•˜λŠ” 것 κ°™λ‹€"κ³  λ§ν•˜κΈ°λ„ ν–ˆλ‹€.
94
  μ΄λŸ¬ν•œ μ΄μ λ“€λ‘œ 인해 무인점포의 μˆ˜λŠ” μ•žμœΌλ‘œλ„ λŠ˜μ–΄λ‚  κ²ƒμœΌλ‘œ 보인닀.''')
95
 
96
- st.write("<br>", unsafe_allow_html=True)
97
 
98
  # CCTV 사진
99
  image_path = 'photo2.jpeg'
@@ -149,8 +147,8 @@ st.markdown("#### 무인점포 μ ˆλ„λ₯Ό 막기 μœ„ν•œ μ •μ±… λ‹€μ–‘ν™”... μ‹€
149
  # μ–‘μ‹¬κ±°μšΈ
150
  image_path = 'photo4.jpeg'
151
  image = Image.open(image_path)
152
- new_width = 800
153
- new_height = 800
154
  centered_image = center_image(image, new_width, new_height)
155
 
156
  st.image(centered_image, caption='좜처 μ•ˆμ„±κ²½μ°°μ„œ', use_column_width=True)
 
86
  html_content1 = f.read()
87
  st.components.v1.html(html_content1, height=500)
88
 
 
 
89
  st.write('''무인점포의 κ°€μž₯ 큰 μž₯점은 ν‚€μ˜€μŠ€ν¬ λ„μž…μœΌλ‘œ μΈν•œ 인건비 μ ˆκ°μ΄λ‹€.
90
  고객의 μž…μž₯μ—μ„œλ„ μƒν’ˆμ„ νŽΈν•˜κ²Œ λ³Ό 수 μžˆλ‹€.
91
  μ‹€μ œλ‘œ ν•œ 20λŒ€ μ΄μš©μžλŠ” "μ•„λ¬΄λž˜λ„ 주인이 μ—†λ‹€ λ³΄λ‹ˆκΉŒ 눈치λ₯Ό 보지 μ•Šμ•„λ„ λ˜μ–΄μ„œ μ’‹λ‹€. λ˜ν•œ 물건을 μžμ„Ένžˆ λ³Ό 수 μžˆλŠ” 자유둜운 μ‡Όν•‘ ν™˜κ²½ λ•Œλ¬Έμ— 무인점포λ₯Ό 자주 μ΄μš©ν•˜λŠ” 것 κ°™λ‹€"κ³  λ§ν•˜κΈ°λ„ ν–ˆλ‹€.
92
  μ΄λŸ¬ν•œ μ΄μ λ“€λ‘œ 인해 무인점포의 μˆ˜λŠ” μ•žμœΌλ‘œλ„ λŠ˜μ–΄λ‚  κ²ƒμœΌλ‘œ 보인닀.''')
93
 
94
+ st.write("<br><br>", unsafe_allow_html=True)
95
 
96
  # CCTV 사진
97
  image_path = 'photo2.jpeg'
 
147
  # μ–‘μ‹¬κ±°μšΈ
148
  image_path = 'photo4.jpeg'
149
  image = Image.open(image_path)
150
+ new_width = 400
151
+ new_height = 0
152
  centered_image = center_image(image, new_width, new_height)
153
 
154
  st.image(centered_image, caption='좜처 μ•ˆμ„±κ²½μ°°μ„œ', use_column_width=True)