Update app.py
Browse files
app.py
CHANGED
|
@@ -35,7 +35,7 @@ if source_radio == "IMAGE":
|
|
| 35 |
st.markdown(f"<h4 style='color: blue;'><strong>μ΄λ―Έμ§μμ AI μΆλ‘ μ μ€νν κ²°κ³Ό μ
λλ€.</strong></h4>", unsafe_allow_html=True)
|
| 36 |
else:
|
| 37 |
st.image("data/intel_rnb.jpg")
|
| 38 |
-
st.write("'Browse Files' λ²νΌμ ν΄λ¦νμ¬ μ΄λ―Έμ§
|
| 39 |
|
| 40 |
def play_video(video_source):
|
| 41 |
camera = cv2.VideoCapture(video_source)
|
|
@@ -86,7 +86,7 @@ if source_radio == "VIDEO":
|
|
| 86 |
play_video(temporary_location)
|
| 87 |
else:
|
| 88 |
st.video("data/sample_video.mp4")
|
| 89 |
-
st.write("'Browse Files' λ²νΌμ ν΄λ¦νμ¬ μμ
|
| 90 |
|
| 91 |
if source_radio == "WEBCAM":
|
| 92 |
input = camera_input_live()
|
|
|
|
| 35 |
st.markdown(f"<h4 style='color: blue;'><strong>μ΄λ―Έμ§μμ AI μΆλ‘ μ μ€νν κ²°κ³Ό μ
λλ€.</strong></h4>", unsafe_allow_html=True)
|
| 36 |
else:
|
| 37 |
st.image("data/intel_rnb.jpg")
|
| 38 |
+
st.write("μΌμͺ½ λ©λ΄ 'Browse Files' λ²νΌμ ν΄λ¦νμ¬ μ΄λ―Έμ§ νμΌμ μ ννλ©΄ AI μΆλ‘ μ΄ μμλ©λλ€." )
|
| 39 |
|
| 40 |
def play_video(video_source):
|
| 41 |
camera = cv2.VideoCapture(video_source)
|
|
|
|
| 86 |
play_video(temporary_location)
|
| 87 |
else:
|
| 88 |
st.video("data/sample_video.mp4")
|
| 89 |
+
st.write("μΌμͺ½ λ©λ΄ 'Browse Files' λ²νΌμ ν΄λ¦νμ¬ μμ νμΌμ μ ννλ©΄ AI μΆλ‘ μ΄ μμλ©λλ€.")
|
| 90 |
|
| 91 |
if source_radio == "WEBCAM":
|
| 92 |
input = camera_input_live()
|