Commit
ยท
291e05e
1
Parent(s):
a992708
Add support us text
Browse files- app.py +6 -1
- src/__pycache__/content.cpython-312.pyc +0 -0
- src/content.py +40 -14
app.py
CHANGED
@@ -7,7 +7,8 @@ from src.content import (
|
|
7 |
CITATION_TEXT,
|
8 |
LICENCE_TEXT,
|
9 |
INTRO_TEXT,
|
10 |
-
METHODOLOGY_TEXT
|
|
|
11 |
)
|
12 |
|
13 |
from src.expert import expert_mode
|
@@ -58,6 +59,10 @@ with tab_about:
|
|
58 |
|
59 |
st.markdown(ABOUT_TEXT, unsafe_allow_html=True)
|
60 |
|
|
|
|
|
|
|
|
|
61 |
with st.expander('๐ Citation'):
|
62 |
st.html(CITATION_LABEL)
|
63 |
st.html(CITATION_TEXT)
|
|
|
7 |
CITATION_TEXT,
|
8 |
LICENCE_TEXT,
|
9 |
INTRO_TEXT,
|
10 |
+
METHODOLOGY_TEXT,
|
11 |
+
SUPPORT_TEXT
|
12 |
)
|
13 |
|
14 |
from src.expert import expert_mode
|
|
|
59 |
|
60 |
st.markdown(ABOUT_TEXT, unsafe_allow_html=True)
|
61 |
|
62 |
+
with tab_support:
|
63 |
+
st.markdown(SUPPORT_TEXT, unsafe_allow_html=True)
|
64 |
+
|
65 |
+
|
66 |
with st.expander('๐ Citation'):
|
67 |
st.html(CITATION_LABEL)
|
68 |
st.html(CITATION_TEXT)
|
src/__pycache__/content.cpython-312.pyc
CHANGED
Binary files a/src/__pycache__/content.cpython-312.pyc and b/src/__pycache__/content.cpython-312.pyc differ
|
|
src/content.py
CHANGED
@@ -30,17 +30,6 @@ INTRO_TEXT = """
|
|
30 |
<br>
|
31 |
"""
|
32 |
|
33 |
-
ALT_INTRO_TEXT = """
|
34 |
-
<p>
|
35 |
-
This tool is developed and maintained by
|
36 |
-
<a href = "https://genai-impact.org/" > GenAI Impact </a> non-profit.
|
37 |
-
To learn more about EcoLogits visit
|
38 |
-
<a href="https://ecologits.ai" > ecologits.ai </a>
|
39 |
-
</p>
|
40 |
-
|
41 |
-
|
42 |
-
"""
|
43 |
-
|
44 |
WARNING_CLOSED_SOURCE = """
|
45 |
โ ๏ธ The model architecture has not been publicly released, expect lower precision of estimations.
|
46 |
"""
|
@@ -151,9 +140,9 @@ We also welcome any open-source contributions on ๐ฑ **[EcoLogits](https://gith
|
|
151 |
</p>
|
152 |
|
153 |
## ๐ Acknowledgement
|
154 |
-
We thank [Data For Good](https://dataforgood.fr/) and [Boavizta](https://boavizta.org/en) for supporting
|
155 |
-
|
156 |
-
assessment have been
|
157 |
We also extend our gratitude to the open-source contributions of ๐ค [Hugging Face](huggingface.com) on the LLM-Perf
|
158 |
Leaderboard.
|
159 |
|
@@ -161,7 +150,44 @@ Leaderboard.
|
|
161 |
For general question on the project, please use the [GitHub thread](https://github.com/genai-impact/ecologits/discussions/45).
|
162 |
Otherwise use our contact form on [genai-impact.org/contact](https://genai-impact.org/contact/).
|
163 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
164 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
165 |
|
166 |
METHODOLOGY_TEXT = r"""
|
167 |
## ๐ Methodology
|
|
|
30 |
<br>
|
31 |
"""
|
32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
WARNING_CLOSED_SOURCE = """
|
34 |
โ ๏ธ The model architecture has not been publicly released, expect lower precision of estimations.
|
35 |
"""
|
|
|
140 |
</p>
|
141 |
|
142 |
## ๐ Acknowledgement
|
143 |
+
We thank [Data For Good](https://dataforgood.fr/) and [Boavizta](https://boavizta.org/en) for supporting this project.
|
144 |
+
Their contributions of tools, best practices, and expertise in environmental impact
|
145 |
+
assessment have been extremely valuable.
|
146 |
We also extend our gratitude to the open-source contributions of ๐ค [Hugging Face](huggingface.com) on the LLM-Perf
|
147 |
Leaderboard.
|
148 |
|
|
|
150 |
For general question on the project, please use the [GitHub thread](https://github.com/genai-impact/ecologits/discussions/45).
|
151 |
Otherwise use our contact form on [genai-impact.org/contact](https://genai-impact.org/contact/).
|
152 |
"""
|
153 |
+
SUPPORT_TEXT = r"""
|
154 |
+
## How to support
|
155 |
+
At GenAI Impact, our projects are powered by the passion and dedication of our team.
|
156 |
+
Since its first release in June 2024, this calculator has been **developped and maintained entirely on a volunteer basis by our members**.
|
157 |
+
We aim to keep this tool available as a free and open-source ressource for the common good. We need your support to reach this goal, this is how you can help.
|
158 |
+
|
159 |
+
### If you have 1 second
|
160 |
+
3 easy ways to help this project :
|
161 |
+
- Give a โค๏ธ like to this space
|
162 |
+
- Give a โญ to the EcoLogits repo on [GitHub](https://github.com/genai-impact/ecologits)
|
163 |
+
- Follow us on [LinkedIn](https://fr.linkedin.com/company/genai-impact)
|
164 |
|
165 |
+
### If you have 5 minutes
|
166 |
+
Share your feedback, ask questions, help other members of the community !
|
167 |
+
|
168 |
+
Engage the discussion with us :
|
169 |
+
- Start a new discussion on this space or on this
|
170 |
+
[GitHub thread](https://github.com/genai-impact/ecologits/discussions/45)
|
171 |
+
- Use the contact form on [GenAI Impact website](https://genai-impact.org/contact/)
|
172 |
+
- message us on [LinkedIn](https://www.linkedin.com/company/genai-impact/).
|
173 |
+
|
174 |
+
### If you have more to give
|
175 |
+
|
176 |
+
##### As an individual
|
177 |
+
We welcome any open source contribution ! You can :
|
178 |
+
- Contribute on **[EcoLogits](https://github.com/genai-impact/ecologits)** or on
|
179 |
+
**EcoLogits Calculator**.
|
180 |
+
- Become a an active member of [GenAI Impact ](https://genai-impact.org/contact/) non profit. Get involved in our broader mission !
|
181 |
+
|
182 |
+
|
183 |
+
##### As an organization
|
184 |
+
If EcoLogits Calculator brings value to your organization, customers or communities you can help finance this project.
|
185 |
+
- Become a **sponsor**
|
186 |
+
- Become a **benefactor member** if you are a public sector or non-profit organization or a university.
|
187 |
+
|
188 |
+
Contact us on [GenAI Impact ](https://genai-impact.org/contact/)
|
189 |
+
|
190 |
+
"""
|
191 |
|
192 |
METHODOLOGY_TEXT = r"""
|
193 |
## ๐ Methodology
|