carolinejean-pierre commited on
Commit
f492823
·
1 Parent(s): 017c2ee

Add how to content

Browse files
Files changed (1) hide show
  1. src/content.py +13 -1
src/content.py CHANGED
@@ -30,6 +30,18 @@ INTRO_TEXT = """
30
  <br>
31
  """
32
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  WARNING_CLOSED_SOURCE = """
34
  ⚠️ The model architecture has not been publicly released, expect lower precision of estimations.
35
  """
@@ -288,7 +300,7 @@ We divide the scaled GHG emissions by this value to get the equivalent number of
288
 
289
  CITATION_LABEL = "BibTeX citation for EcoLogits Calculator and the EcoLogits library:"
290
  CITATION_TEXT = r"""@misc{ecologits-calculator,
291
- author={Samuel Rincé, Adrien Banse and Valentin Defour},
292
  title={EcoLogits Calculator},
293
  year={2025},
294
  howpublished= {\url{https://huggingface.co/spaces/genai-impact/ecologits-calculator}},
 
30
  <br>
31
  """
32
 
33
+ HOW_TO_TEXT = """
34
+ Chose a provider, a model and an example of usage (prompts).
35
+
36
+ 1.The calculator will provide you estimates of environmental impacts of this example. To learn more about how these impacts are computed check the Methodology tab.
37
+
38
+ 2. You can then check for equivalences of these impacts.
39
+
40
+ 3. The calculator will extrapolate your example to simulate how impacts can scale rapidly if only one percent of the world population make the same prompt everyday for one year.
41
+
42
+
43
+ """
44
+
45
  WARNING_CLOSED_SOURCE = """
46
  ⚠️ The model architecture has not been publicly released, expect lower precision of estimations.
47
  """
 
300
 
301
  CITATION_LABEL = "BibTeX citation for EcoLogits Calculator and the EcoLogits library:"
302
  CITATION_TEXT = r"""@misc{ecologits-calculator,
303
+ author={Samuel Rincé, Adrien Banse, Valentin Defour, Caroline Jean-Pierre},
304
  title={EcoLogits Calculator},
305
  year={2025},
306
  howpublished= {\url{https://huggingface.co/spaces/genai-impact/ecologits-calculator}},