Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,9 +7,6 @@ import requests
|
|
7 |
# Set the API key directly or from environment variable
|
8 |
api_key = os.getenv("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") # Ensure your API key is stored in the environment variable.
|
9 |
|
10 |
-
# Initialize the Groq client with the API key
|
11 |
-
client = Groq(api_key=api_key)
|
12 |
-
|
13 |
# Function to load and preprocess data
|
14 |
@st.cache_data
|
15 |
def load_data(file):
|
|
|
7 |
# Set the API key directly or from environment variable
|
8 |
api_key = os.getenv("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") # Ensure your API key is stored in the environment variable.
|
9 |
|
|
|
|
|
|
|
10 |
# Function to load and preprocess data
|
11 |
@st.cache_data
|
12 |
def load_data(file):
|