Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ from transformers import AutoModel, AutoTokenizer
|
|
10 |
import torch
|
11 |
|
12 |
# Set up Groq API key
|
13 |
-
GROQ_API_KEY = os.getenv("
|
14 |
|
15 |
# Initialize embedding model (using sentence-transformers model)
|
16 |
tokenizer = AutoTokenizer.from_pretrained("sentence-transformers/all-MiniLM-L6-v2")
|
|
|
10 |
import torch
|
11 |
|
12 |
# Set up Groq API key
|
13 |
+
GROQ_API_KEY = os.getenv("LawersGuideAPIKey")
|
14 |
|
15 |
# Initialize embedding model (using sentence-transformers model)
|
16 |
tokenizer = AutoTokenizer.from_pretrained("sentence-transformers/all-MiniLM-L6-v2")
|