Ramlaoui commited on
Commit
dd8e803
1 Parent(s): bd80c5e

Add acknowledgements

Browse files
Files changed (1) hide show
  1. app.py +30 -2
app.py CHANGED
@@ -50,7 +50,7 @@ for subset in subsets:
50
  "total_magnetization",
51
  ],
52
  )
53
- datasets.append(dataset['train'])
54
 
55
  display_columns = [
56
  "chemical_formula_descriptive",
@@ -289,7 +289,35 @@ layout = html.Div(
289
  "alignItems": "center",
290
  },
291
  ),
292
- # html.Button("Display Material", id="display-button", n_clicks=0),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
293
  ],
294
  style={
295
  "margin-left": "10px",
 
50
  "total_magnetization",
51
  ],
52
  )
53
+ datasets.append(dataset["train"])
54
 
55
  display_columns = [
56
  "chemical_formula_descriptive",
 
289
  "alignItems": "center",
290
  },
291
  ),
292
+ # acknowledgements to mp dash components and crystal toolkit
293
+ html.Footer(
294
+ [
295
+ html.P(
296
+ [
297
+ "Built with ",
298
+ html.A(
299
+ "mp-components",
300
+ href="https://github.com/materialsproject/mp-react-components",
301
+ ),
302
+ " and ",
303
+ html.A(
304
+ "Crystal Toolkit", href="https://docs.crystaltoolkit.org/"
305
+ ),
306
+ ],
307
+ style={"textAlign": "center"},
308
+ )
309
+ ],
310
+ style={
311
+ "display": "flex",
312
+ "justifyContent": "center",
313
+ "alignItems": "center",
314
+ "flexWrap": "wrap",
315
+ "padding": "1rem 0",
316
+ "backgroundColor": "#f1f1f1", # Optional: light gray footer background
317
+ "borderTop": "1px solid #ddd", # Optional: subtle border at the top
318
+ "width": "100%",
319
+ },
320
+ ),
321
  ],
322
  style={
323
  "margin-left": "10px",