Spaces:
Runtime error
Runtime error
Avamalton
commited on
Commit
Β·
550ba8f
1
Parent(s):
23881bb
app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from transformers import pipeline
|
|
| 4 |
# Load model dari Hugging Face tanpa device_map untuk menghindari error di Spaces
|
| 5 |
generator = pipeline(
|
| 6 |
"text-generation",
|
| 7 |
-
model="tiiuae/
|
| 8 |
trust_remote_code=True # boleh dihapus jika pakai transformers terbaru
|
| 9 |
)
|
| 10 |
|
|
|
|
| 4 |
# Load model dari Hugging Face tanpa device_map untuk menghindari error di Spaces
|
| 5 |
generator = pipeline(
|
| 6 |
"text-generation",
|
| 7 |
+
model="tiiuae/Falcon-H1-1.5B-Instruct",
|
| 8 |
trust_remote_code=True # boleh dihapus jika pakai transformers terbaru
|
| 9 |
)
|
| 10 |
|