Spaces:
Sleeping
Sleeping
switched back to openBMB model
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ DATA_DIR = os.path.join(os.getcwd(), "session_data")
|
|
| 12 |
os.makedirs(DATA_DIR, exist_ok=True)
|
| 13 |
csv_path = None
|
| 14 |
|
| 15 |
-
pipe = pipeline("text-generation", model="
|
| 16 |
|
| 17 |
DESC_SYSTEM_PROMPT = (
|
| 18 |
"Write a description of a fantasy character based on the user prompt"
|
|
|
|
| 12 |
os.makedirs(DATA_DIR, exist_ok=True)
|
| 13 |
csv_path = None
|
| 14 |
|
| 15 |
+
pipe = pipeline("text-generation", model="openbmb/MiniCPM5-1B")
|
| 16 |
|
| 17 |
DESC_SYSTEM_PROMPT = (
|
| 18 |
"Write a description of a fantasy character based on the user prompt"
|