Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,10 @@
|
|
1 |
import torch
|
2 |
from transformers import pipeline
|
3 |
|
|
|
|
|
|
|
|
|
4 |
model_id = "meta-llama/Llama-3.2-1B-Instruct"
|
5 |
pipe = pipeline(
|
6 |
"text-generation",
|
|
|
1 |
import torch
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
from huggingface_hub import login
|
5 |
+
|
6 |
+
login('your_token_here')
|
7 |
+
|
8 |
model_id = "meta-llama/Llama-3.2-1B-Instruct"
|
9 |
pipe = pipeline(
|
10 |
"text-generation",
|