Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -120,6 +120,7 @@ SIDEBAR_OPTION_UPLOAD_IMAGE = "Upload an Image"
|
|
120 |
#SIDEBAR_OPTION_COLOUR_IMAGE = "Choose a colour"
|
121 |
|
122 |
SIDEBAR_OPTIONS = [SIDEBAR_OPTION_DEMO_IMAGE, SIDEBAR_OPTION_UPLOAD_IMAGE]
|
|
|
123 |
|
124 |
|
125 |
app_mode = st.sidebar.selectbox("Please select from the following", SIDEBAR_OPTIONS)
|
@@ -139,7 +140,6 @@ if app_mode == SIDEBAR_OPTION_DEMO_IMAGE:
|
|
139 |
if pressed:
|
140 |
st.empty()
|
141 |
st.sidebar.write('Please wait for the magic to happen! This may take up to a minute.')
|
142 |
-
st.sidebar.write("Check out GitHub [link](https://github.com/vijishmadhavan/PoPd)")
|
143 |
predict(option,colour)
|
144 |
|
145 |
elif app_mode == SIDEBAR_OPTION_UPLOAD_IMAGE:
|
|
|
120 |
#SIDEBAR_OPTION_COLOUR_IMAGE = "Choose a colour"
|
121 |
|
122 |
SIDEBAR_OPTIONS = [SIDEBAR_OPTION_DEMO_IMAGE, SIDEBAR_OPTION_UPLOAD_IMAGE]
|
123 |
+
st.sidebar.write("Check out GitHub [link](https://github.com/vijishmadhavan/PoPd)")
|
124 |
|
125 |
|
126 |
app_mode = st.sidebar.selectbox("Please select from the following", SIDEBAR_OPTIONS)
|
|
|
140 |
if pressed:
|
141 |
st.empty()
|
142 |
st.sidebar.write('Please wait for the magic to happen! This may take up to a minute.')
|
|
|
143 |
predict(option,colour)
|
144 |
|
145 |
elif app_mode == SIDEBAR_OPTION_UPLOAD_IMAGE:
|