Commit
·
50592f2
1
Parent(s):
836d715
updates
Browse files
app.py
CHANGED
@@ -43,8 +43,8 @@ if "img" not in st.session_state:
|
|
43 |
if "draw" not in st.session_state:
|
44 |
st.session_state["draw"] = True
|
45 |
|
46 |
-
if "model" not in st.session_state:
|
47 |
-
st.session_state["model"] = tuple(pred_dict.keys())[0]
|
48 |
|
49 |
|
50 |
def patch(ij):
|
@@ -150,9 +150,9 @@ with col1:
|
|
150 |
st.button('Change Image', on_click=button_click)
|
151 |
|
152 |
#st.session_state["model"] =
|
153 |
-
with st.form("my_form"):
|
154 |
-
|
155 |
-
|
156 |
|
157 |
#st.session_state["model"]=model
|
158 |
|
|
|
43 |
if "draw" not in st.session_state:
|
44 |
st.session_state["draw"] = True
|
45 |
|
46 |
+
#if "model" not in st.session_state:
|
47 |
+
# st.session_state["model"] = tuple(pred_dict.keys())[0]
|
48 |
|
49 |
|
50 |
def patch(ij):
|
|
|
150 |
st.button('Change Image', on_click=button_click)
|
151 |
|
152 |
#st.session_state["model"] =
|
153 |
+
#with st.form("my_form"):
|
154 |
+
st.selectbox('Model',tuple(pred_dict.keys()),key="model")
|
155 |
+
#st.form_submit_button("Submit")
|
156 |
|
157 |
#st.session_state["model"]=model
|
158 |
|