Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,8 +3,7 @@ from transformers import pipeline
|
|
| 3 |
|
| 4 |
pipe = pipeline(
|
| 5 |
"text-generation",
|
| 6 |
-
model="microsoft/Phi-3-mini-4k-instruct
|
| 7 |
-
device="cpu"
|
| 8 |
)
|
| 9 |
|
| 10 |
def chat(message,history):
|
|
|
|
| 3 |
|
| 4 |
pipe = pipeline(
|
| 5 |
"text-generation",
|
| 6 |
+
model="microsoft/Phi-3-mini-4k-instruct"
|
|
|
|
| 7 |
)
|
| 8 |
|
| 9 |
def chat(message,history):
|