willsh1997 commited on
Commit
388f2fa
·
1 Parent(s): 99c632e

:memo: copy edit for widget output

Browse files
Files changed (1) hide show
  1. carbon_footprint_gradio.py +3 -3
carbon_footprint_gradio.py CHANGED
@@ -37,11 +37,11 @@ llama32_3b_pipe = pipeline(
37
  )
38
 
39
  def calc_co2e_response(co2grams: float):
40
- response = f""" This query generated {co2grams:.4f} grams of CO2e.
41
 
42
- This is equivalent to approximately {co2grams*8:.4f} grams of CO2e per user per day, based on the average number of queries sent in per user per day on ChatGPT.
43
 
44
- By global usage statistics, this would equate to roughly {co2grams*1e3:.4f} metric tonnes of CO2e per day, based on total worldwide number of queries sent to ChatGPT daily.
45
  """
46
  return response
47
 
 
37
  )
38
 
39
  def calc_co2e_response(co2grams: float):
40
+ response = f"""Your query just produced approximately {co2grams:.4f} grams of CO2e.
41
 
42
+ On average, eight queries are sent per user per day to ChatGPT. If you were to run this specific query using this (our?? what is it? you could specifi if you want?) model seven more times, it would generate approximately {co2grams*8:.4f} grams of CO2e.
43
 
44
+ The average number of queries sent to ChatGPT per day globally is 1 billion. Using this model, running this query 1 billion times would equate to roughly {co2grams*1e3:.4f} metric tonnes of CO2e emissions.
45
  """
46
  return response
47