Update app.py
Browse files
app.py
CHANGED
@@ -224,11 +224,11 @@ with gradio.Blocks() as demo:
|
|
224 |
|
225 |
with gradio.Row():
|
226 |
with gradio.Column():
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
with gradio.Accordion("Geometry from Parameters", open=True) as asdfa:
|
232 |
radio = gradio.Radio(
|
233 |
["box", "cone", "cylinder", "sphere", "wedge"], label="What kind of shape would you like to generate?", value="box"
|
234 |
)
|
|
|
224 |
|
225 |
with gradio.Row():
|
226 |
with gradio.Column():
|
227 |
+
whence_commeth_geometry = gradio.Radio(
|
228 |
+
["Construct Shape from Parameters", "Pick Shape from Dataset"], label="How would you like to generate the shape of the offshore structure for analysis?", value="Construct Shape from Parameters"
|
229 |
+
)
|
230 |
+
whence_commeth_geometry.change(fn=geometry_change, inputs=[whence_commeth_geometry], outputs=[asdfa, asdfb])
|
231 |
+
with gradio.Accordion("Geometry from Parameters", open=True) as asdfa:
|
232 |
radio = gradio.Radio(
|
233 |
["box", "cone", "cylinder", "sphere", "wedge"], label="What kind of shape would you like to generate?", value="box"
|
234 |
)
|