Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,8 +8,9 @@ from sentence_transformers import SentenceTransformer
|
|
| 8 |
from groq import Groq
|
| 9 |
|
| 10 |
# Set Groq API key
|
| 11 |
-
GROQ_API_KEY = "
|
| 12 |
groq_client = Groq(api_key=GROQ_API_KEY)
|
|
|
|
| 13 |
embedder = SentenceTransformer("all-MiniLM-L6-v2")
|
| 14 |
|
| 15 |
# Example job descriptions
|
|
|
|
| 8 |
from groq import Groq
|
| 9 |
|
| 10 |
# Set Groq API key
|
| 11 |
+
GROQ_API_KEY = os.getenv("GROQ_API_KEY")
|
| 12 |
groq_client = Groq(api_key=GROQ_API_KEY)
|
| 13 |
+
|
| 14 |
embedder = SentenceTransformer("all-MiniLM-L6-v2")
|
| 15 |
|
| 16 |
# Example job descriptions
|