Spaces:
Runtime error
Runtime error
better description
Browse files
app.py
CHANGED
@@ -142,7 +142,7 @@ warning_message += " application."
|
|
142 |
|
143 |
with gr.Blocks() as banner:
|
144 |
message = gr.HTML(
|
145 |
-
'<div class="alert"><span class="closebtn" onclick="this.parentElement.style.display="none";">×</span>{}</div>'.format(
|
146 |
warning_message
|
147 |
)
|
148 |
)
|
@@ -157,11 +157,10 @@ iface = gr.Interface(
|
|
157 |
plot_style_dropdown,
|
158 |
functional_dropdown,
|
159 |
finite_temp_toggle,
|
160 |
-
message,
|
161 |
],
|
162 |
outputs=gr.Plot(label="Phase Diagram"),
|
163 |
title="LeMaterial - Phase Diagram Viewer",
|
164 |
-
description=
|
165 |
)
|
166 |
|
167 |
# Launch the app
|
|
|
142 |
|
143 |
with gr.Blocks() as banner:
|
144 |
message = gr.HTML(
|
145 |
+
'<div class="alert"><span class="closebtn" onclick="this.parentElement.style.display="none";">×</span>{}</div>Generate a phase diagram for a set of elements using LeMat-Bulk data.'.format(
|
146 |
warning_message
|
147 |
)
|
148 |
)
|
|
|
157 |
plot_style_dropdown,
|
158 |
functional_dropdown,
|
159 |
finite_temp_toggle,
|
|
|
160 |
],
|
161 |
outputs=gr.Plot(label="Phase Diagram"),
|
162 |
title="LeMaterial - Phase Diagram Viewer",
|
163 |
+
description=message,
|
164 |
)
|
165 |
|
166 |
# Launch the app
|