Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -144,7 +144,7 @@ def style_figure(fig):
|
|
144 |
# Generate recommendations using Groq API
|
145 |
def generate_recommendations(water, energy, carbon):
|
146 |
try:
|
147 |
-
client = Groq(api_key="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"
|
148 |
prompt = (
|
149 |
f"The environmental impact values for a textile product are as follows:\n"
|
150 |
f"Water Footprint: {water:.2f} kL\n"
|
|
|
144 |
# Generate recommendations using Groq API
|
145 |
def generate_recommendations(water, energy, carbon):
|
146 |
try:
|
147 |
+
client = Groq(api_key="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")
|
148 |
prompt = (
|
149 |
f"The environmental impact values for a textile product are as follows:\n"
|
150 |
f"Water Footprint: {water:.2f} kL\n"
|