Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,38 +6,38 @@ def addADRIB():
|
|
| 6 |
with gr.Blocks() as newblocks:
|
| 7 |
with gr.Column():
|
| 8 |
algorithm = gr.Dropdown(choices=['Ground Beams','Pile Caps'],interactive=True,label='Projects')
|
| 9 |
-
with gr.Row():
|
| 10 |
-
|
| 11 |
-
if algorithm=='Pile Caps':
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
elif algorithm=='Ground Beams':
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
|
| 32 |
|
| 33 |
-
for i in range(len(mylist)):
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
|
| 40 |
-
|
| 41 |
|
| 42 |
|
| 43 |
|
|
|
|
| 6 |
with gr.Blocks() as newblocks:
|
| 7 |
with gr.Column():
|
| 8 |
algorithm = gr.Dropdown(choices=['Ground Beams','Pile Caps'],interactive=True,label='Projects')
|
| 9 |
+
# with gr.Row():
|
| 10 |
+
# area_pattern= gr.CheckboxGroup(choices=("Area","Pattern","Border","Length","Match"),show_label=False)
|
| 11 |
+
# if algorithm=='Pile Caps':
|
| 12 |
+
# with gr.Row():
|
| 13 |
+
# drpdwnType=gr.Dropdown(choices=['Area','Border','Length','Count'],value='Area',show_label=False,interactive=True)
|
| 14 |
+
# drpdwnUnit=gr.Dropdown(choices=['m2','m'],value='m2',show_label=False,interactive=True)
|
| 15 |
|
| 16 |
+
# with gr.Row():
|
| 17 |
+
# drpdwnType=gr.Dropdown(choices=['Area','Border','Length','Count'],value='Length',show_label=False,interactive=True)
|
| 18 |
+
# drpdwnUnit=gr.Dropdown(choices=['m2','m'],value='m2',show_label=False,interactive=True)
|
| 19 |
+
# elif algorithm=='Ground Beams':
|
| 20 |
+
# with gr.Row():
|
| 21 |
+
# drpdwnType=gr.Dropdown(choices=['Area','Border','Length','Count'],value='Area',show_label=False,interactive=True)
|
| 22 |
+
# drpdwnUnit=gr.Dropdown(choices=['m2','m'],value='m2',show_label=False,interactive=True)
|
| 23 |
|
| 24 |
+
# with gr.Row():
|
| 25 |
+
# drpdwnType=gr.Dropdown(choices=['Area','Border','Length','Count'],value='Length',show_label=False,interactive=True)
|
| 26 |
+
# drpdwnUnit=gr.Dropdown(choices=['m2','m'],value='m2',show_label=False,interactive=True)
|
| 27 |
|
| 28 |
+
# with gr.Row():
|
| 29 |
+
# drpdwnType=gr.Dropdown(choices=['Area','Border','Length','Count'],value='Length',show_label=False,interactive=True)
|
| 30 |
+
# drpdwnUnit=gr.Dropdown(choices=['m2','m'],value='m2',show_label=False,interactive=True)
|
| 31 |
|
| 32 |
|
| 33 |
+
# for i in range(len(mylist)):
|
| 34 |
+
# with gr.Accordion(label='item',open=False):
|
| 35 |
+
# with gr.Row():
|
| 36 |
+
# label1=gr.Textbox(placeholder='Level',show_label=False)
|
| 37 |
+
# label2=gr.Textbox(placeholder='Section Specification',show_label=False)
|
| 38 |
+
# label3=gr.Textbox(placeholder='Depth',show_label=False)
|
| 39 |
|
| 40 |
+
# # vals.append(label1.value)
|
| 41 |
|
| 42 |
|
| 43 |
|