Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -207,7 +207,7 @@ def predict_inverse(hardness_target, ys_target, request: gr.Request):
|
|
207 |
return list(result.keys())[2:]
|
208 |
|
209 |
|
210 |
-
example_inputs = [420,
|
211 |
|
212 |
css_styling = """#submit {background: #1eccd8}
|
213 |
submit {color: white}
|
@@ -242,6 +242,9 @@ with gr.Blocks(css=css_styling, title=page_title) as demo:
|
|
242 |
with gr.Row():
|
243 |
clear_button = gr.Button("Clear")
|
244 |
prediction_button = gr.Button("Predict", elem_id="submit")
|
|
|
|
|
|
|
245 |
with gr.Row():
|
246 |
with gr.Column():
|
247 |
gr.Markdown("### The target performance of your alloy")
|
|
|
207 |
return list(result.keys())[2:]
|
208 |
|
209 |
|
210 |
+
example_inputs = [420, 1020]
|
211 |
|
212 |
css_styling = """#submit {background: #1eccd8}
|
213 |
submit {color: white}
|
|
|
242 |
with gr.Row():
|
243 |
clear_button = gr.Button("Clear")
|
244 |
prediction_button = gr.Button("Predict", elem_id="submit")
|
245 |
+
with gr.Row():
|
246 |
+
gr.Markdown("### Your alloy formula")
|
247 |
+
gr.Text(value="Al0.25 Co1 Fe1 Ni1")
|
248 |
with gr.Row():
|
249 |
with gr.Column():
|
250 |
gr.Markdown("### The target performance of your alloy")
|