Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -249,18 +249,21 @@ with gr.Blocks(css=css_styling, title=page_title) as demo:
|
|
| 249 |
input_yield_strength = gr.Text(label="Enter your target yield strength (MPa)")
|
| 250 |
with gr.Column():
|
| 251 |
with gr.Row():
|
| 252 |
-
gr.Markdown("### Your optimal
|
| 253 |
#optimal_parameters = gr.DataFrame(label="Optimal parameters", wrap=True)
|
| 254 |
-
param1 = gr.Text(lable="Param1")
|
| 255 |
-
param2 = gr.Text(lable="Param2")
|
| 256 |
-
param3 = gr.Text(lable="Param3")
|
| 257 |
-
with gr.Row():
|
| 258 |
with gr.Column():
|
| 259 |
-
|
| 260 |
-
|
| 261 |
-
|
| 262 |
-
|
| 263 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 264 |
|
| 265 |
with gr.Row():
|
| 266 |
gr.Examples([example_inputs], [input_hardness, input_yield_strength])
|
|
|
|
| 249 |
input_yield_strength = gr.Text(label="Enter your target yield strength (MPa)")
|
| 250 |
with gr.Column():
|
| 251 |
with gr.Row():
|
| 252 |
+
gr.Markdown("### Your optimal microstructure and processing conditions")
|
| 253 |
#optimal_parameters = gr.DataFrame(label="Optimal parameters", wrap=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 254 |
with gr.Column():
|
| 255 |
+
param1 = gr.Text(label="Processing method")
|
| 256 |
+
with gr.Column():
|
| 257 |
+
param2 = gr.Text(label="Microstructure")
|
| 258 |
+
with gr.Column():
|
| 259 |
+
param3 = gr.Text(label="Phase")
|
| 260 |
+
#with gr.Row():
|
| 261 |
+
#with gr.Column():
|
| 262 |
+
#with gr.Row():
|
| 263 |
+
# gr.Markdown("### Interpretation of hardness prediction")
|
| 264 |
+
# gr.Markdown("### Interpretation of yield strength prediction")
|
| 265 |
+
#with gr.Row():
|
| 266 |
+
# output_interpretation = gr.Plot(label="Interpretation")
|
| 267 |
|
| 268 |
with gr.Row():
|
| 269 |
gr.Examples([example_inputs], [input_hardness, input_yield_strength])
|