Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,9 +10,6 @@ import plotly.express as px
|
|
| 10 |
|
| 11 |
# Set up Groq client
|
| 12 |
client = Groq(api_key="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")
|
| 13 |
-
if not groq_api_key:
|
| 14 |
-
raise EnvironmentError("GROQ_API_KEY is not set. Please configure it in the environment variables.")
|
| 15 |
-
client = Groq(api_key=groq_api_key)
|
| 16 |
|
| 17 |
# Initialize FAISS index and scaler
|
| 18 |
scaler = StandardScaler()
|
|
|
|
| 10 |
|
| 11 |
# Set up Groq client
|
| 12 |
client = Groq(api_key="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")
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
# Initialize FAISS index and scaler
|
| 15 |
scaler = StandardScaler()
|