ccm commited on
Commit
b3c8835
1 Parent(s): 7cb081b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -9
app.py CHANGED
@@ -298,15 +298,12 @@ with gradio.Blocks() as demo:
298
 
299
 
300
  with gradio.Row():
301
- with gradio.Column(min_width=500):
302
- gradio.Markdown("What would you like the first endpoint of the transition region to look like?")
303
- with gradio.Row():
304
- with gradio.Column(min_width=250):
305
- t1 = gradio.Dropdown(endpoint_options, label="Type 1", value="hamburger_box")
306
- d1 = gradio.Dropdown(density_options, label="Density 1", value="1.00")
307
- th1 = gradio.Dropdown(thickness_options, label="Thickness 1", value="2")
308
- with gradio.Column(min_width=250):
309
- img1 = gradio.Image(label="Endpoint 1", value=generate_unit_cell("hamburger_box", "1.00", "2"))
310
  with gradio.Column(min_width=250):
311
  t2 = gradio.Dropdown(endpoint_options, label="Type 2", value="hot_dog_box")
312
  d2 = gradio.Dropdown(density_options, label="Density 2", value="1.00")
 
298
 
299
 
300
  with gradio.Row():
301
+ with gradio.Column(min_width=250):
302
+ t1 = gradio.Dropdown(endpoint_options, label="Type 1", value="hamburger_box")
303
+ d1 = gradio.Dropdown(density_options, label="Density 1", value="1.00")
304
+ th1 = gradio.Dropdown(thickness_options, label="Thickness 1", value="2")
305
+ with gradio.Column(min_width=250):
306
+ img1 = gradio.Image(label="Endpoint 1", value=generate_unit_cell("hamburger_box", "1.00", "2"))
 
 
 
307
  with gradio.Column(min_width=250):
308
  t2 = gradio.Dropdown(endpoint_options, label="Type 2", value="hot_dog_box")
309
  d2 = gradio.Dropdown(density_options, label="Density 2", value="1.00")