Spaces:
Build error
Build error
changed orientation
Browse files
app.py
CHANGED
@@ -69,6 +69,9 @@ with gr.Blocks(title='Cabasus') as cabasus_sensor:
|
|
69 |
processed_file_box = gr.File(label='Processed CSV File')
|
70 |
json_file_box = gr.File(label='Generated Json file')
|
71 |
|
|
|
|
|
|
|
72 |
with gr.Row():
|
73 |
slice_size_slider = gr.Slider(minimum=16, maximum=512, step=1, value=64, label="Slice Size", visible=False)
|
74 |
sample_rate = gr.Slider(minimum=1, maximum=199, step=1, value=20, label="Sample rate", visible=False)
|
@@ -79,15 +82,13 @@ with gr.Blocks(title='Cabasus') as cabasus_sensor:
|
|
79 |
leg_dropdown = gr.Dropdown(choices=['GZ1', 'GZ2', 'GZ3', 'GZ4'], label='select leg', value='GZ1')
|
80 |
|
81 |
with gr.Row():
|
82 |
-
|
83 |
plot_box_overlay = gr.Plot(label="Overlay Signal Plot")
|
84 |
|
85 |
with gr.Row():
|
86 |
-
plot_slice_leg = gr.Plot(label="Sliced Signal Plot")
|
87 |
-
get_all_slice = gr.Plot(label="Real Signal Plot")
|
88 |
with gr.Row():
|
89 |
som_create = gr.Button('generate som')
|
90 |
-
slice_slider = gr.Slider(minimum=1, maximum=300, label='Current slice', step=1)
|
91 |
som_figures = gr.Plot(label="som activations")
|
92 |
with gr.Row():
|
93 |
slice_json_box = gr.File(label='Slice json file')
|
@@ -96,6 +97,9 @@ with gr.Blocks(title='Cabasus') as cabasus_sensor:
|
|
96 |
button_label_Add = gr.Button('attach label')
|
97 |
slice_json_label_box = gr.File(label='Slice json labelled file')
|
98 |
|
|
|
|
|
|
|
99 |
|
100 |
slices_per_leg = gr.Textbox(label="Number of slices found per LEG")
|
101 |
|
|
|
69 |
processed_file_box = gr.File(label='Processed CSV File')
|
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='Current slice', step=1)
|
74 |
+
|
75 |
with gr.Row():
|
76 |
slice_size_slider = gr.Slider(minimum=16, maximum=512, step=1, value=64, label="Slice Size", visible=False)
|
77 |
sample_rate = gr.Slider(minimum=1, maximum=199, step=1, value=20, label="Sample rate", visible=False)
|
|
|
82 |
leg_dropdown = gr.Dropdown(choices=['GZ1', 'GZ2', 'GZ3', 'GZ4'], label='select leg', value='GZ1')
|
83 |
|
84 |
with gr.Row():
|
85 |
+
get_all_slice = gr.Plot(label="Real Signal Plot")
|
86 |
plot_box_overlay = gr.Plot(label="Overlay Signal Plot")
|
87 |
|
88 |
with gr.Row():
|
89 |
+
plot_slice_leg = gr.Plot(label="Sliced Signal Plot", visible=False)
|
|
|
90 |
with gr.Row():
|
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')
|
|
|
97 |
button_label_Add = gr.Button('attach label')
|
98 |
slice_json_label_box = gr.File(label='Slice json labelled file')
|
99 |
|
100 |
+
with gr.Row():
|
101 |
+
animation = gr.Video(label='animation')
|
102 |
+
real_video = gr.Video(label='real')
|
103 |
|
104 |
slices_per_leg = gr.Textbox(label="Number of slices found per LEG")
|
105 |
|