lsadouk1111 commited on
Commit
b21d86c
路
verified 路
1 Parent(s): fd371a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- global model, tokenizer
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,