Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,8 @@
|
|
1 |
-
|
2 |
# Use a pipeline as a high-level helper
|
3 |
from transformers import pipeline
|
4 |
|
5 |
messages = [
|
6 |
{"role": "user", "content": "Who are you?"},
|
7 |
]
|
8 |
-
pipe = pipeline("text-generation", model="
|
9 |
pipe(messages)
|
|
|
|
|
1 |
# Use a pipeline as a high-level helper
|
2 |
from transformers import pipeline
|
3 |
|
4 |
messages = [
|
5 |
{"role": "user", "content": "Who are you?"},
|
6 |
]
|
7 |
+
pipe = pipeline("text-generation", model="Mxode/minicoder-7M-init")
|
8 |
pipe(messages)
|