Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
from transformers import pipeline
|
| 2 |
|
| 3 |
-
pipe = pipeline("text-generation", model="moonshotai/Kimi-K2-Instruct-0905")
|
| 4 |
messages = [
|
| 5 |
{"role": "user", "content": "Who are you?"},
|
| 6 |
]
|
|
|
|
| 1 |
from transformers import pipeline
|
| 2 |
|
| 3 |
+
pipe = pipeline("text-generation", model="moonshotai/Kimi-K2-Instruct-0905", trust_remote_code=True)
|
| 4 |
messages = [
|
| 5 |
{"role": "user", "content": "Who are you?"},
|
| 6 |
]
|