Spaces:
Sleeping
Sleeping
Commit ·
328d04d
1
Parent(s): 191212a
Updated
Browse files
main.py
CHANGED
|
@@ -21,7 +21,7 @@ from transformers import pipeline
|
|
| 21 |
# CONFIGURATION
|
| 22 |
# =====================================================
|
| 23 |
API_SECRET = "techdisciplesai404"
|
| 24 |
-
PRIMARY_MODEL = "
|
| 25 |
FALLBACK_MODEL = "mistralai/Mistral-7B-Instruct-v0.3"
|
| 26 |
DEVICE = 0 if torch.cuda.is_available() else -1
|
| 27 |
|
|
|
|
| 21 |
# CONFIGURATION
|
| 22 |
# =====================================================
|
| 23 |
API_SECRET = "techdisciplesai404"
|
| 24 |
+
PRIMARY_MODEL = "openai-community/gpt2"
|
| 25 |
FALLBACK_MODEL = "mistralai/Mistral-7B-Instruct-v0.3"
|
| 26 |
DEVICE = 0 if torch.cuda.is_available() else -1
|
| 27 |
|