Ramlaoui commited on
Commit
0bf9e36
·
1 Parent(s): f6a3fec

Add acknowledgements

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -1,13 +1,13 @@
1
  import os
2
- import polars as pl
3
 
4
  import gradio as gr
5
  import numpy as np
6
  import pandas as pd
7
  import plotly.graph_objs as go
 
8
  from datasets import concatenate_datasets, load_dataset
9
  from pymatgen.analysis.phase_diagram import PDPlotter, PhaseDiagram
10
- from pymatgen.core import Composition, Structure, Element
11
  from pymatgen.core.composition import Composition
12
  from pymatgen.entries.computed_entries import (
13
  ComputedStructureEntry,
@@ -204,10 +204,12 @@ warning_message += " scheme will be standardized in a soon to be released update
204
  warning_message += " now please take caution when analyzing the results of this"
205
  warning_message += " application."
206
 
207
-
208
  message = '<div class="alert"><span class="closebtn" onclick="this.parentElement.style.display="none";">&times;</span>{}</div>Generate a phase diagram for a set of elements using LeMat-Bulk data.'.format(
209
  warning_message
210
  )
 
 
 
211
 
212
  # Create Gradio interface
213
  iface = gr.Interface(
 
1
  import os
 
2
 
3
  import gradio as gr
4
  import numpy as np
5
  import pandas as pd
6
  import plotly.graph_objs as go
7
+ import polars as pl
8
  from datasets import concatenate_datasets, load_dataset
9
  from pymatgen.analysis.phase_diagram import PDPlotter, PhaseDiagram
10
+ from pymatgen.core import Composition, Element, Structure
11
  from pymatgen.core.composition import Composition
12
  from pymatgen.entries.computed_entries import (
13
  ComputedStructureEntry,
 
204
  warning_message += " now please take caution when analyzing the results of this"
205
  warning_message += " application."
206
 
 
207
  message = '<div class="alert"><span class="closebtn" onclick="this.parentElement.style.display="none";">&times;</span>{}</div>Generate a phase diagram for a set of elements using LeMat-Bulk data.'.format(
208
  warning_message
209
  )
210
+ message += (
211
+ "<br>Built with <a href='https://pymatgen.org/' target='_blank'>Pymatgen</a>.<br>"
212
+ )
213
 
214
  # Create Gradio interface
215
  iface = gr.Interface(