Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 =
|
| 153 |
-
new_height =
|
| 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)
|