Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,6 @@ messages = [
|
|
5 |
{"role": "user", "content": "Who are you?"},
|
6 |
]
|
7 |
|
8 |
-
pipe = pipeline(model="meta-llama/Llama-3.2-1B-Instruct"
|
9 |
|
10 |
-
pipe(messages)
|
|
|
5 |
{"role": "user", "content": "Who are you?"},
|
6 |
]
|
7 |
|
8 |
+
pipe = pipeline(model="meta-llama/Llama-3.2-1B-Instruct")
|
9 |
|
10 |
+
pipe(messages, max_length=512)
|