Spaces:
Runtime error
Runtime error
shashichilappagari
commited on
Commit
•
1a288da
1
Parent(s):
171009c
Update app.py
Browse files
app.py
CHANGED
@@ -6,12 +6,13 @@ zoo=dg.connect(dg.CLOUD,zoo_url='https://cs.degirum.com/degirum/ultralytics_v6',
|
|
6 |
|
7 |
st.title('DeGirum Cloud Platform Demo')
|
8 |
|
9 |
-
st.
|
10 |
-
|
|
|
|
|
|
|
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"):
|
|
|
6 |
|
7 |
st.title('DeGirum Cloud Platform Demo')
|
8 |
|
9 |
+
with st.sidebar:
|
10 |
+
st.header('Specify Model Options Below')
|
11 |
+
runtime_agent_device=st.radio("Choose runtime agent device combo",("N2X-ORCA1","TFLite-EdgeTPU","OpenVINO-CPU"),index=0,horizontal=True)
|
12 |
+
activation_option=st.radio( 'Select activation function', ['relu6', 'silu'],horizontal=True)
|
13 |
+
dataset_option=st.radio( 'Select a dataset option', ['coco', 'face','lp','car','hand'],horizontal=True)
|
14 |
runtime_agent,device=runtime_agent_device.split('-')[0],runtime_agent_device.split('-')[1]
|
15 |
model_options=zoo.list_models(device=device,runtime=runtime_agent)
|
|
|
|
|
16 |
st.header('Choose and Run a Model')
|
17 |
st.text('Select a model and upload an image. Then click on the submit button')
|
18 |
with st.form("model_form"):
|