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