Spaces:
Sleeping
Sleeping
fixing code
Browse files
app.py
CHANGED
@@ -9,8 +9,10 @@ import pandas as pd
|
|
9 |
from tqdm import tqdm
|
10 |
|
11 |
# Get the Groq API key from environment variables (in Hugging Face, this is stored as a secret)
|
12 |
-
|
13 |
-
|
|
|
|
|
14 |
|
15 |
|
16 |
con = sqlite3.connect("file::memory:?cache=shared")
|
|
|
9 |
from tqdm import tqdm
|
10 |
|
11 |
# Get the Groq API key from environment variables (in Hugging Face, this is stored as a secret)
|
12 |
+
client = Groq(
|
13 |
+
# This is the default and can be omitted
|
14 |
+
api_key=os.environ.get("GROQ_API_KEY"),
|
15 |
+
)
|
16 |
|
17 |
|
18 |
con = sqlite3.connect("file::memory:?cache=shared")
|