Spaces:
Sleeping
Sleeping
Daniel Cerda Escobar
commited on
Commit
·
04b5c20
1
Parent(s):
6494a0c
Update app file
Browse files
app.py
CHANGED
|
@@ -42,12 +42,11 @@ with col2:
|
|
| 42 |
# set input images from examples
|
| 43 |
def radio_func(option):
|
| 44 |
option_to_id = {
|
| 45 |
-
'factory_pid.png' : '
|
| 46 |
-
'plant_pid.png' : '
|
| 47 |
-
'processing_pid.png' : '
|
| 48 |
}
|
| 49 |
return option_to_id[option]
|
| 50 |
-
st.write('##')
|
| 51 |
radio = st.radio(
|
| 52 |
'Or select from example diagrams',
|
| 53 |
options = ['factory_pid.png', 'plant_pid.png', 'processing_pid.png'],
|
|
|
|
| 42 |
# set input images from examples
|
| 43 |
def radio_func(option):
|
| 44 |
option_to_id = {
|
| 45 |
+
'factory_pid.png' : 'A',
|
| 46 |
+
'plant_pid.png' : 'B',
|
| 47 |
+
'processing_pid.png' : 'C',
|
| 48 |
}
|
| 49 |
return option_to_id[option]
|
|
|
|
| 50 |
radio = st.radio(
|
| 51 |
'Or select from example diagrams',
|
| 52 |
options = ['factory_pid.png', 'plant_pid.png', 'processing_pid.png'],
|