Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -110,7 +110,7 @@ def generate_step_card(instruction, year, subject):
|
|
| 110 |
# Load model on first call (inside GPU context)
|
| 111 |
if model is None:
|
| 112 |
from unsloth import FastModel
|
| 113 |
-
|
| 114 |
model, tokenizer = FastModel.from_pretrained(
|
| 115 |
model_name=MODEL_ID,
|
| 116 |
max_seq_length=512,
|
|
|
|
| 110 |
# Load model on first call (inside GPU context)
|
| 111 |
if model is None:
|
| 112 |
from unsloth import FastModel
|
| 113 |
+
|
| 114 |
model, tokenizer = FastModel.from_pretrained(
|
| 115 |
model_name=MODEL_ID,
|
| 116 |
max_seq_length=512,
|