Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -66,8 +66,9 @@ class CurriculumChatbot:
|
|
| 66 |
|
| 67 |
def _setup_llm(self):
|
| 68 |
try:
|
| 69 |
-
# Use Llama 3.1 8B
|
| 70 |
model_name = "meta-llama/Meta-Llama-3.1-8B-Instruct"
|
|
|
|
| 71 |
pipe = pipeline(
|
| 72 |
"text-generation",
|
| 73 |
model=model_name,
|
|
|
|
| 66 |
|
| 67 |
def _setup_llm(self):
|
| 68 |
try:
|
| 69 |
+
# Use Llama 3.1 8B with authentication token from secrets
|
| 70 |
model_name = "meta-llama/Meta-Llama-3.1-8B-Instruct"
|
| 71 |
+
|
| 72 |
pipe = pipeline(
|
| 73 |
"text-generation",
|
| 74 |
model=model_name,
|