Spaces:
Build error
Build error
changed som position
Browse files
app.py
CHANGED
|
@@ -70,7 +70,10 @@ with gr.Blocks(title='Cabasus') as cabasus_sensor:
|
|
| 70 |
json_file_box = gr.File(label='Generated Json file')
|
| 71 |
|
| 72 |
plot_box_leg = gr.Plot(label="Filtered Signal Plot")
|
| 73 |
-
slice_slider = gr.Slider(minimum=1, maximum=300, label='
|
|
|
|
|
|
|
|
|
|
| 74 |
|
| 75 |
with gr.Row():
|
| 76 |
slice_size_slider = gr.Slider(minimum=16, maximum=512, step=1, value=64, label="Slice Size", visible=False)
|
|
@@ -78,6 +81,7 @@ with gr.Blocks(title='Cabasus') as cabasus_sensor:
|
|
| 78 |
with gr.Row():
|
| 79 |
window_size_slider = gr.Slider(minimum=0, maximum=100, step=2, value=10, label="Window Size", visible=False)
|
| 80 |
repeat_process = gr.Button('Restart process', visible=False)
|
|
|
|
| 81 |
with gr.Row():
|
| 82 |
leg_dropdown = gr.Dropdown(choices=['GZ1', 'GZ2', 'GZ3', 'GZ4'], label='select leg', value='GZ1')
|
| 83 |
|
|
@@ -87,9 +91,7 @@ with gr.Blocks(title='Cabasus') as cabasus_sensor:
|
|
| 87 |
|
| 88 |
with gr.Row():
|
| 89 |
plot_slice_leg = gr.Plot(label="Sliced Signal Plot", visible=False)
|
| 90 |
-
|
| 91 |
-
som_create = gr.Button('generate som')
|
| 92 |
-
som_figures = gr.Plot(label="som activations")
|
| 93 |
with gr.Row():
|
| 94 |
slice_json_box = gr.File(label='Slice json file')
|
| 95 |
with gr.Column():
|
|
|
|
| 70 |
json_file_box = gr.File(label='Generated Json file')
|
| 71 |
|
| 72 |
plot_box_leg = gr.Plot(label="Filtered Signal Plot")
|
| 73 |
+
slice_slider = gr.Slider(minimum=1, maximum=300, label='Slice select', step=1)
|
| 74 |
+
|
| 75 |
+
som_create = gr.Button('generate som')
|
| 76 |
+
som_figures = gr.Plot(label="som activations")
|
| 77 |
|
| 78 |
with gr.Row():
|
| 79 |
slice_size_slider = gr.Slider(minimum=16, maximum=512, step=1, value=64, label="Slice Size", visible=False)
|
|
|
|
| 81 |
with gr.Row():
|
| 82 |
window_size_slider = gr.Slider(minimum=0, maximum=100, step=2, value=10, label="Window Size", visible=False)
|
| 83 |
repeat_process = gr.Button('Restart process', visible=False)
|
| 84 |
+
|
| 85 |
with gr.Row():
|
| 86 |
leg_dropdown = gr.Dropdown(choices=['GZ1', 'GZ2', 'GZ3', 'GZ4'], label='select leg', value='GZ1')
|
| 87 |
|
|
|
|
| 91 |
|
| 92 |
with gr.Row():
|
| 93 |
plot_slice_leg = gr.Plot(label="Sliced Signal Plot", visible=False)
|
| 94 |
+
|
|
|
|
|
|
|
| 95 |
with gr.Row():
|
| 96 |
slice_json_box = gr.File(label='Slice json file')
|
| 97 |
with gr.Column():
|