ccm commited on
Commit
8c431ab
1 Parent(s): d98e5c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py CHANGED
@@ -285,6 +285,18 @@ def interpolate(t1, t2, d1, d2, th1, th2, steps):
285
 
286
 
287
  with gradio.Blocks() as demo:
 
 
 
 
 
 
 
 
 
 
 
 
288
  with gradio.Row():
289
  with gradio.Column(min_width=250):
290
  t1 = gradio.Dropdown(endpoint_options, label="Type 1", value="hamburger_box")
 
285
 
286
 
287
  with gradio.Blocks() as demo:
288
+
289
+ with gradio.Accordion("Read about the ML model here!"):
290
+ with gradio.Row():
291
+ with gradio.Column():
292
+ gradio.Markdown("# A Data-Driven Approach for Multi-Lattice Transitions")
293
+ gradio.HTML("Martha Baldwin, Carnegie Mellon University<br/>Nicholas A. Meisel, Penn State<br/>Christopher McComb, Carnegie Mellon University")
294
+ gradio.Markdown("Additive manufacturing is advantageous for producing lightweight components while maintaining function and form. This ability has been bolstered by the introduction of unit lattice cells and the gradation of those cells. In cases where loading varies throughout a part, it may be necessary to use multiple lattice cell types, also known as multi-lattice structures. In such structures, abrupt transitions between geometries may cause stress concentrations, making the boundary a primary failure point; thus, transition regions should be created between each lattice cell type. Although computational approaches have been proposed, smooth transition regions are still difficult to intuit and design, especially between lattices of drastically different geometries. This work demonstrates and assesses a method for using variational autoencoders to automate the creation of transitional lattice cells. In particular, the work focuses on identifying the relationships that exist within the latent space produced by the variational autoencoder. Through computational experimentation, it was found that the smoothness of transition regions was higher when the endpoints were located closer together in the latent space.")
295
+ with gradio.Column():
296
+ download = gradio.HTML("<a href=\"https://huggingface.co/spaces/cmudrc/lattice-interpolation/resolve/main/M169970.pdf\" style=\"width: 60%; display: block; margin: auto;\"><img src=\"https://huggingface.co/spaces/cmudrc/lattice-interpolation/resolve/main/coverpage.png\"></a>")
297
+
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")