Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -25,23 +25,18 @@ def correct_image_orientation(image):
|
|
| 25 |
# cases: image don't have getexif
|
| 26 |
pass
|
| 27 |
return image
|
|
|
|
| 28 |
|
| 29 |
-
st.
|
| 30 |
|
| 31 |
-
uploaded_file = st.
|
| 32 |
|
| 33 |
if uploaded_file is not None:
|
| 34 |
image = Image.open(uploaded_file)
|
| 35 |
corrected_image = correct_image_orientation(image)
|
| 36 |
st.image(corrected_image, caption='Corrected Image', use_column_width=True)
|
| 37 |
|
| 38 |
-
|
| 39 |
-
st.markdown('# λμ΄λλ λ¬΄μΈ μ ν¬ μ λ μ
μ£Όλ€ "νΌν΄ λ§λ§ν΄"')
|
| 40 |
-
|
| 41 |
-
st.write("<br><br><br>", unsafe_allow_html=True) # 3μ€ λμ΄μ°κΈ°
|
| 42 |
-
|
| 43 |
# λμ
|
| 44 |
-
st.image('photo1.jpeg', caption='λλ문ꡬ μμ¬ λ¬΄μΈμ ν¬')
|
| 45 |
st.write('''"μ λ μ¬λ‘κ° νμ°Έ λ§μ λλ μ κ° 3μΌ λμ λͺ°λ μ¨μ΄μ μ§μΌλ³΄κΈ°λ νμ΄μ. CCTVλ μ§μμ μΌλ‘ νμΈνκ³ μ."
|
| 46 |
ν μμ΄μ€ν¬λ¦Ό 무μΈμ ν¬λ₯Ό μ΄μνκ³ μλ A μ¨(40)κ° λ§νλ€.
|
| 47 |
A μ¨λ μ΄μμ νΈλ¦¬ν¨ λμ λΆμ
μΌλ‘ 무μΈμ ν¬λ₯Ό μ΄μνκ³ μμ§λ§, κ³μλλ μ λ λ²μ£μ κ³¨μΉ μνλ€κ³ νΈμ΄λμλ€.
|
|
|
|
| 25 |
# cases: image don't have getexif
|
| 26 |
pass
|
| 27 |
return image
|
| 28 |
+
st.markdown('# λμ΄λλ λ¬΄μΈ μ ν¬ μ λ μ
μ£Όλ€ "νΌν΄ λ§λ§ν΄"')
|
| 29 |
|
| 30 |
+
st.write("<br><br><br>", unsafe_allow_html=True) # 3μ€ λμ΄μ°κΈ°
|
| 31 |
|
| 32 |
+
uploaded_file = st.image('photo1.jpeg', caption='λλ문ꡬ μμ¬ λ¬΄μΈμ ν¬')
|
| 33 |
|
| 34 |
if uploaded_file is not None:
|
| 35 |
image = Image.open(uploaded_file)
|
| 36 |
corrected_image = correct_image_orientation(image)
|
| 37 |
st.image(corrected_image, caption='Corrected Image', use_column_width=True)
|
| 38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
# λμ
|
|
|
|
| 40 |
st.write('''"μ λ μ¬λ‘κ° νμ°Έ λ§μ λλ μ κ° 3μΌ λμ λͺ°λ μ¨μ΄μ μ§μΌλ³΄κΈ°λ νμ΄μ. CCTVλ μ§μμ μΌλ‘ νμΈνκ³ μ."
|
| 41 |
ν μμ΄μ€ν¬λ¦Ό 무μΈμ ν¬λ₯Ό μ΄μνκ³ μλ A μ¨(40)κ° λ§νλ€.
|
| 42 |
A μ¨λ μ΄μμ νΈλ¦¬ν¨ λμ λΆμ
μΌλ‘ 무μΈμ ν¬λ₯Ό μ΄μνκ³ μμ§λ§, κ³μλλ μ λ λ²μ£μ κ³¨μΉ μνλ€κ³ νΈμ΄λμλ€.
|