Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,9 @@ from sklearn.model_selection import ParameterGrid
|
|
37 |
from tqdm import tqdm
|
38 |
import random
|
39 |
|
40 |
-
|
|
|
|
|
41 |
|
42 |
# NLTK Resource Download
|
43 |
def download_nltk_resources():
|
|
|
37 |
from tqdm import tqdm
|
38 |
import random
|
39 |
|
40 |
+
hf_token = os.getenv("hf_token")
|
41 |
+
|
42 |
+
llm = HuggingFacePipeline(pipeline(model="meta-llama/Llama-3.2-1B", hf_token=hf_token))
|
43 |
|
44 |
# NLTK Resource Download
|
45 |
def download_nltk_resources():
|