yipfram commited on
Commit
e630993
·
verified ·
1 Parent(s): b00f1d1

Update Readme, + env verif

Browse files
Files changed (3) hide show
  1. .env.example +1 -8
  2. README.md +26 -0
  3. app.py +2 -1
.env.example CHANGED
@@ -1,8 +1 @@
1
- # Example environment variables
2
- # Copy this file to .env and fill in your actual values
3
-
4
- # Mistral AI API Key
5
- MISTRAL_API_KEY=your_mistral_api_key_here
6
-
7
- # Optional: Default model
8
- DEFAULT_MODEL=mistral-tiny
 
1
+ MISTRAL_API_KEY=your-mistral_api_key
 
 
 
 
 
 
 
README.md CHANGED
@@ -1,3 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  # EcoLogits - AI Environmental Impact Tracker
2
 
3
  A clean, modular chat application that tracks the environmental impact of AI model usage using **EcoLogits** library and **Mistral AI** models.
 
1
+ ---
2
+ title: EcoLogits Chat
3
+ emoji: 🌱
4
+ colorFrom: green
5
+ colorTo: blue
6
+ sdk: gradio
7
+ sdk_version: 4.44.0
8
+ app_file: app.py
9
+ pinned: false
10
+ license: mit
11
+ short_description: Mistral tracking environmental impact real-time
12
+ suggested_hardware: cpu-basic
13
+ suggested_storage: small
14
+ tags:
15
+ - mistral
16
+ - ecologits
17
+ - environment
18
+ - sustainability
19
+ - ai-chat
20
+ - carbon-footprint
21
+ - energy-consumption
22
+ python_version: 3.12
23
+ fullWidth: true
24
+ header: default
25
+ ---
26
+
27
  # EcoLogits - AI Environmental Impact Tracker
28
 
29
  A clean, modular chat application that tracks the environmental impact of AI model usage using **EcoLogits** library and **Mistral AI** models.
app.py CHANGED
@@ -11,7 +11,8 @@ def main():
11
  share=False,
12
  server_name="0.0.0.0", # Allow external connections for Hugging Face
13
  server_port=7860, # Standard Hugging Face port
14
- inbrowser=False # Don't auto-open browser on server
 
15
  )
16
 
17
  if __name__ == "__main__":
 
11
  share=False,
12
  server_name="0.0.0.0", # Allow external connections for Hugging Face
13
  server_port=7860, # Standard Hugging Face port
14
+ inbrowser=False, # Don't auto-open browser on server
15
+ pwa=True
16
  )
17
 
18
  if __name__ == "__main__":