Update app.py
Browse files
app.py
CHANGED
|
@@ -58,8 +58,9 @@ elif source_radio == "GAME":
|
|
| 58 |
result_img, detected_object = object_detection.process_image(input_img)
|
| 59 |
|
| 60 |
with col1:
|
| 61 |
-
|
| 62 |
-
|
|
|
|
| 63 |
|
| 64 |
with col2:
|
| 65 |
if st.session_state.random_class in detected_object:
|
|
@@ -71,8 +72,9 @@ elif source_radio == "GAME":
|
|
| 71 |
|
| 72 |
else:
|
| 73 |
with col1:
|
| 74 |
-
|
| 75 |
-
|
|
|
|
| 76 |
|
| 77 |
with col2:
|
| 78 |
st.title(f':{st.session_state.random_class}: 있는 이미지를 업로드')
|
|
|
|
| 58 |
result_img, detected_object = object_detection.process_image(input_img)
|
| 59 |
|
| 60 |
with col1:
|
| 61 |
+
pass
|
| 62 |
+
#if st.button('새로운 객체'):
|
| 63 |
+
# st.session_state.random_class = object_detection.call_class()
|
| 64 |
|
| 65 |
with col2:
|
| 66 |
if st.session_state.random_class in detected_object:
|
|
|
|
| 72 |
|
| 73 |
else:
|
| 74 |
with col1:
|
| 75 |
+
pass
|
| 76 |
+
#if st.button('새로운 객체'):
|
| 77 |
+
# st.session_state.random_class = object_detection.call_class()
|
| 78 |
|
| 79 |
with col2:
|
| 80 |
st.title(f':{st.session_state.random_class}: 있는 이미지를 업로드')
|