Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
# Use a pipeline as a high-level helper
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
-
my_pipe = pipeline("text-generation", model="TheBloke/Yarn-Mistral-7B-128k-
|
| 5 |
|
| 6 |
def get_class_1(input):
|
| 7 |
return my_pipe(input)
|
|
|
|
| 1 |
# Use a pipeline as a high-level helper
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
+
my_pipe = pipeline("text-generation", model="TheBloke/Yarn-Mistral-7B-128k-GGUF")
|
| 5 |
|
| 6 |
def get_class_1(input):
|
| 7 |
return my_pipe(input)
|