Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
remove alert style and add emoji warning
Browse files
app.py
CHANGED
@@ -197,7 +197,7 @@ plot_style_dropdown = gr.Dropdown(choices=["2D", "3D"], label="Plot Style")
|
|
197 |
functional_dropdown = gr.Dropdown(choices=["PBE", "PBESol", "SCAN"], label="Functional")
|
198 |
finite_temp_toggle = gr.Checkbox(label="Enable Finite Temperature Estimation")
|
199 |
|
200 |
-
warning_message = "This application uses energy correction schemes directly"
|
201 |
warning_message += " from the data providers (Alexandria, MP) and has the 2020 MP"
|
202 |
warning_message += " Compatibility scheme applied to OQMD. However, because we did"
|
203 |
warning_message += " not directly apply the compatibility schemes to Alexandria, MP"
|
@@ -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>"
|
|
|
197 |
functional_dropdown = gr.Dropdown(choices=["PBE", "PBESol", "SCAN"], label="Functional")
|
198 |
finite_temp_toggle = gr.Checkbox(label="Enable Finite Temperature Estimation")
|
199 |
|
200 |
+
warning_message = "⚠️ This application uses energy correction schemes directly"
|
201 |
warning_message += " from the data providers (Alexandria, MP) and has the 2020 MP"
|
202 |
warning_message += " Compatibility scheme applied to OQMD. However, because we did"
|
203 |
warning_message += " not directly apply the compatibility schemes to Alexandria, MP"
|
|
|
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>"
|