BrainAI-1 commited on
Commit
9249554
·
verified ·
1 Parent(s): 8fc6ea8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
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
- if st.button('새로운 객체'):
62
- st.session_state.random_class = object_detection.call_class()
 
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
- if st.button('새로운 객체'):
75
- st.session_state.random_class = object_detection.call_class()
 
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}: 있는 이미지를 업로드')