padmanabhbosamia commited on
Commit
c4dcb2f
·
verified ·
1 Parent(s): 93c65fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def generate_text(prompt, max_length=100, temperature=0.7, top_p=0.9, top_k=50):
61
 
62
  # Load the model
63
  print("Loading model...")
64
- checkpoint_path = "checkpoints/smol-lm2-final.ckpt"
65
  if not os.path.exists(checkpoint_path):
66
  print(f"Warning: Checkpoint not found at {checkpoint_path}")
67
  print("Please train the model first or specify correct checkpoint path")
 
61
 
62
  # Load the model
63
  print("Loading model...")
64
+ checkpoint_path = "smol-lm2-final.ckpt"
65
  if not os.path.exists(checkpoint_path):
66
  print(f"Warning: Checkpoint not found at {checkpoint_path}")
67
  print("Please train the model first or specify correct checkpoint path")