BrainAI-1 commited on
Commit
672ead6
ยท
verified ยท
1 Parent(s): 2171de8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -11,8 +11,10 @@ st.set_page_config(
11
  st.title(":blue[Object Detection] :black_cat:")
12
  st.sidebar.header("๋ฉ”๋‰ด")
13
  source_radio = st.sidebar.radio("์„ ํƒํ•˜์„ธ์š”", ["IMAGE", "VIDEO", "GAME"])
 
 
14
 
15
- st.session_state.random_class = object_detection.call_class()
16
 
17
 
18
  if source_radio == "IMAGE":
 
11
  st.title(":blue[Object Detection] :black_cat:")
12
  st.sidebar.header("๋ฉ”๋‰ด")
13
  source_radio = st.sidebar.radio("์„ ํƒํ•˜์„ธ์š”", ["IMAGE", "VIDEO", "GAME"])
14
+ st.session_state.random_class = None
15
+ if not st.session_state.random_class:
16
 
17
+ st.session_state.random_class = object_detection.call_class()
18
 
19
 
20
  if source_radio == "IMAGE":