lsadouk1111 commited on
Commit
73068d9
路
verified 路
1 Parent(s): 63b9598

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -67,7 +67,6 @@ def generate_step_card(instruction, year, subject):
67
  # Load model on first call (inside GPU context)
68
  if model is None:
69
  from unsloth import FastModel
70
- global model, tokenizer
71
  model, tokenizer = FastModel.from_pretrained(
72
  model_name=MODEL_ID,
73
  max_seq_length=512,
 
67
  # Load model on first call (inside GPU context)
68
  if model is None:
69
  from unsloth import FastModel
 
70
  model, tokenizer = FastModel.from_pretrained(
71
  model_name=MODEL_ID,
72
  max_seq_length=512,