shashichilappagari commited on
Commit
171009c
·
1 Parent(s): abef845

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -7,11 +7,11 @@ zoo=dg.connect(dg.CLOUD,zoo_url='https://cs.degirum.com/degirum/ultralytics_v6',
7
  st.title('DeGirum Cloud Platform Demo')
8
 
9
  st.header('Specify Model Options Below')
10
- runtime_agent_device=st.radio("Choose runtime agent device combo",("N2X-ORCA1","TFLite-EdgeTPU","OpenVINO-CPU"),index=0)
11
  runtime_agent,device=runtime_agent_device.split('-')[0],runtime_agent_device.split('-')[1]
12
  model_options=zoo.list_models(device=device,runtime=runtime_agent)
13
- activation_option=st.radio( 'Select activation function', ['relu6', 'silu'])
14
- dataset_option=st.radio( 'Select a dataset option', ['coco', 'face','lp','car','hand'])
15
  st.header('Choose and Run a Model')
16
  st.text('Select a model and upload an image. Then click on the submit button')
17
  with st.form("model_form"):
 
7
  st.title('DeGirum Cloud Platform Demo')
8
 
9
  st.header('Specify Model Options Below')
10
+ runtime_agent_device=st.radio("Choose runtime agent device combo",("N2X-ORCA1","TFLite-EdgeTPU","OpenVINO-CPU"),index=0,horizontal=True)
11
  runtime_agent,device=runtime_agent_device.split('-')[0],runtime_agent_device.split('-')[1]
12
  model_options=zoo.list_models(device=device,runtime=runtime_agent)
13
+ activation_option=st.radio( 'Select activation function', ['relu6', 'silu'],horizontal=True)
14
+ dataset_option=st.radio( 'Select a dataset option', ['coco', 'face','lp','car','hand'],horizontal=True)
15
  st.header('Choose and Run a Model')
16
  st.text('Select a model and upload an image. Then click on the submit button')
17
  with st.form("model_form"):