ccm commited on
Commit
e5e43e2
·
1 Parent(s): 4363b83

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -11
app.py CHANGED
@@ -326,17 +326,21 @@ with gradio.Blocks() as synthesis_demo3:
326
 
327
 
328
  with gradio.Blocks() as intro:
329
- with gradio.Row():
330
- with gradio.Column():
331
- title = gradio.Markdown("# Toward the Rapid Design of Engineered Systems Through Deep Neural Networks")
332
- gradio.HTML("Christopher McComb<br/>Department of Mechanical Engineering<br/>Carnegie Mellon University")
333
- gradio.Markdown("The design of a system commits a significant portion of the final cost of that system. Many computational approaches have been developed to assist designers in the analysis (e.g., computational fluid dynamics) and synthesis (e.g., topology optimization) of engineered systems. However, many of these approaches are computationally intensive, taking significant time to complete an analysis and even longer to iteratively synthesize a solution. The current work proposes a methodology for rapidly evaluating and synthesizing engineered systems through the use of deep neural networks. The proposed methodology is applied to the analysis and synthesis of offshore structures such as oil platforms. These structures are constructed in a marine environment and are typically designed to achieve specific dynamics in response to a known spectrum of ocean waves. Results show that deep learning can be used to accurately and rapidly synthesize and analyze offshore structures.\n\nThis site contains demos of the models from the paper. Please go to the `Analysis` tab to assess the forces applied to an offshore structure, and go to the `Synthesis` tab to synthesize a structure based on desired forces. ")
334
- with gradio.Column():
335
- download = gradio.HTML("<a href=\"https://huggingface.co/spaces/cmudrc/wecnet/resolve/main/McComb2019_Chapter_TowardTheRapidDesignOfEngineer.pdf\" style=\"width: 60%; display: block; margin: auto;\"><img src=\"https://huggingface.co/spaces/cmudrc/wecnet/resolve/main/coverpage.png\"></a>")
 
336
 
337
- all_synthesis_demos = gradio.TabbedInterface([synthesis_demo, synthesis_demo2, synthesis_demo3], ["Spectrum from Dataset", "Spectrum from File", "Spectrum from DataFrame"])
338
 
339
- all_analysis_demos = gradio.TabbedInterface([analysis_demo, analysis_demo_from_params], ["Geometry from Data", "Geometry from Parameters"])
 
 
 
340
 
341
- demo = gradio.TabbedInterface([intro, all_analysis_demos, all_synthesis_demos], ["About", "Analysis", "Synthesis"])
342
- demo.launch(debug=True)
 
326
 
327
 
328
  with gradio.Blocks() as intro:
329
+ with gradio.Accordion("✨ Read about the ML model here! ✨", open=False):
330
+ with gradio.Row():
331
+ with gradio.Column():
332
+ gradio.Markdown("# A Data-Driven Approach for Multi-Lattice Transitions")
333
+ gradio.HTML("Martha Baldwin, Carnegie Mellon University<br/>Nicholas A. Meisel, Penn State<br/>Christopher McComb, Carnegie Mellon University")
334
+ 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.")
335
+ with gradio.Column():
336
+ 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>")
337
 
338
+
339
 
340
+
341
+ all_synthesis_demos = gradio.TabbedInterface([synthesis_demo, synthesis_demo2, synthesis_demo3], ["Spectrum from Dataset", "Spectrum from File", "Spectrum from DataFrame"])
342
+
343
+ all_analysis_demos = gradio.TabbedInterface([analysis_demo, analysis_demo_from_params], ["Geometry from Data", "Geometry from Parameters"])
344
 
345
+ gradio.TabbedInterface([intro, all_analysis_demos, all_synthesis_demos], ["About", "Analysis", "Synthesis"])
346
+ intro.launch(debug=True)