Spaces:
Runtime error
Runtime error
white mode
Browse files
app.py
CHANGED
|
@@ -209,7 +209,7 @@ warning_message += " application."
|
|
| 209 |
warning_message += "<br> Additionally, we have provided the 110 PBE correction method"
|
| 210 |
warning_message += " from <a href='https://chemrxiv.org/engage/api-gateway/chemrxiv/assets/orp/resource/item/67252d617be152b1d0b2c1ef/original/a-simple-linear-relation-solves-unphysical-dft-energy-corrections.pdf' target='_blank'>Rohr et al (2024)</a>.<br>"
|
| 211 |
|
| 212 |
-
message =
|
| 213 |
warning_message
|
| 214 |
)
|
| 215 |
message += "<br>Built with <a href='https://pymatgen.org/' target='_blank'>Pymatgen</a> and <a href='https://docs.crystaltoolkit.org/' target='_blank'>Crystal Toolkit</a>.<br>"
|
|
@@ -225,9 +225,10 @@ iface = gr.Interface(
|
|
| 225 |
functional_dropdown,
|
| 226 |
finite_temp_toggle,
|
| 227 |
],
|
| 228 |
-
outputs=gr.Plot(label="Phase Diagram"),
|
| 229 |
title="LeMaterial - Phase Diagram Viewer",
|
| 230 |
description=message,
|
|
|
|
| 231 |
)
|
| 232 |
|
| 233 |
# Launch the app
|
|
|
|
| 209 |
warning_message += "<br> Additionally, we have provided the 110 PBE correction method"
|
| 210 |
warning_message += " from <a href='https://chemrxiv.org/engage/api-gateway/chemrxiv/assets/orp/resource/item/67252d617be152b1d0b2c1ef/original/a-simple-linear-relation-solves-unphysical-dft-energy-corrections.pdf' target='_blank'>Rohr et al (2024)</a>.<br>"
|
| 211 |
|
| 212 |
+
message = "{}. <br><br> Generate a phase diagram for a set of elements using LeMat-Bulk data.".format(
|
| 213 |
warning_message
|
| 214 |
)
|
| 215 |
message += "<br>Built with <a href='https://pymatgen.org/' target='_blank'>Pymatgen</a> and <a href='https://docs.crystaltoolkit.org/' target='_blank'>Crystal Toolkit</a>.<br>"
|
|
|
|
| 225 |
functional_dropdown,
|
| 226 |
finite_temp_toggle,
|
| 227 |
],
|
| 228 |
+
outputs=gr.Plot(label="Phase Diagram", elem_classes="plot-out"),
|
| 229 |
title="LeMaterial - Phase Diagram Viewer",
|
| 230 |
description=message,
|
| 231 |
+
css=".plot-out {background-color: #ffffff;}",
|
| 232 |
)
|
| 233 |
|
| 234 |
# Launch the app
|