Spaces:
Sleeping
Sleeping
changed model
Browse files
app.py
CHANGED
|
@@ -4,9 +4,7 @@ import spaces
|
|
| 4 |
import torch
|
| 5 |
from transformers import pipeline
|
| 6 |
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
pipe = pipeline("text-generation", model="TinyLlama/TinyLlama-1.1B-Chat-v1.0", torch_dtype=torch.bfloat16, device_map="auto")
|
| 10 |
|
| 11 |
DESC_SYSTEM_PROMPT = (
|
| 12 |
"Write a description of a fantasy character based on the user prompt"
|
|
|
|
| 4 |
import torch
|
| 5 |
from transformers import pipeline
|
| 6 |
|
| 7 |
+
pipe = pipeline("text-generation", model="limloop/MN-12B-Runeweaver-RP-RU")
|
|
|
|
|
|
|
| 8 |
|
| 9 |
DESC_SYSTEM_PROMPT = (
|
| 10 |
"Write a description of a fantasy character based on the user prompt"
|