ccm commited on
Commit
d5975ed
1 Parent(s): be8288e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -1
app.py CHANGED
@@ -279,9 +279,19 @@ with gradio.Blocks() as synthesis_demo3:
279
  btn2.click(fn=synthesis_from_spectrum, inputs=[perf], outputs=[pred])
280
 
281
 
 
 
 
 
 
 
 
 
 
 
282
  all_synthesis_demos = gradio.TabbedInterface([synthesis_demo, synthesis_demo2, synthesis_demo3], ["Spectrum from Dataset", "Spectrum from File", "Spectrum from DataFrame"])
283
 
284
  all_analysis_demos = gradio.TabbedInterface([analysis_demo], ["Geometry from Data"])
285
 
286
- demo = gradio.TabbedInterface([all_analysis_demos, all_synthesis_demos], ["Analysis", "Synthesis"])
287
  demo.launch()
 
279
  btn2.click(fn=synthesis_from_spectrum, inputs=[perf], outputs=[pred])
280
 
281
 
282
+ with gradio.Blocks() as intro:
283
+ with gradio.Row():
284
+ with gradio.Column():
285
+ title = gradio.Markdown("# Toward the Rapid Design of Engineered Systems Through Deep Neural Networks")
286
+ with gradio.Column():
287
+ download = gradio.HTML(value="<a href=\"asdf\">Download Paper</a>")
288
+ with gradio.Row():
289
+ 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.")
290
+ gradio.Markdown("This site contains demos of the trained networks.")
291
+
292
  all_synthesis_demos = gradio.TabbedInterface([synthesis_demo, synthesis_demo2, synthesis_demo3], ["Spectrum from Dataset", "Spectrum from File", "Spectrum from DataFrame"])
293
 
294
  all_analysis_demos = gradio.TabbedInterface([analysis_demo], ["Geometry from Data"])
295
 
296
+ demo = gradio.TabbedInterface([intro, all_analysis_demos, all_synthesis_demos], ["About", "Analysis", "Synthesis"])
297
  demo.launch()