Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import os
|
|
| 3 |
from groq import Groq
|
| 4 |
|
| 5 |
# Initialize Groq client
|
| 6 |
-
client = Groq(api_key=os.environ.get("
|
| 7 |
|
| 8 |
def calculate_carbon_footprint(energy_consumption, transportation_km, waste_production, water_usage, food_choices):
|
| 9 |
try:
|
|
|
|
| 3 |
from groq import Groq
|
| 4 |
|
| 5 |
# Initialize Groq client
|
| 6 |
+
client = Groq(api_key=os.environ.get("CHATAPI"))
|
| 7 |
|
| 8 |
def calculate_carbon_footprint(energy_consumption, transportation_km, waste_production, water_usage, food_choices):
|
| 9 |
try:
|