Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
| 5 |
import torch
|
| 6 |
from transformers import pipeline
|
| 7 |
|
| 8 |
-
pipe = pipeline("text-generation", model="microsoft/Phi-3-mini-128k-instruct",
|
| 9 |
|
| 10 |
#client = InferenceClient("microsoft/Phi-3-mini-128k-instruct")
|
| 11 |
|
|
|
|
| 5 |
import torch
|
| 6 |
from transformers import pipeline
|
| 7 |
|
| 8 |
+
pipe = pipeline("text-generation", model="microsoft/Phi-3-mini-128k-instruct", trust_remote_code=True)
|
| 9 |
|
| 10 |
#client = InferenceClient("microsoft/Phi-3-mini-128k-instruct")
|
| 11 |
|