gabrielchua commited on
Commit
6291db1
·
1 Parent(s): febc1d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ model = LionGuard2()
19
  model.eval()
20
 
21
  # Load model weights
22
- model_path = os.path.join(os.path.dirname(__file__), '..', 'final_model', 'LionGuard2.safetensors')
23
  state_dict = load_file(model_path)
24
  model.load_state_dict(state_dict)
25
 
 
19
  model.eval()
20
 
21
  # Load model weights
22
+ model_path = 'LionGuard2.safetensors'
23
  state_dict = load_file(model_path)
24
  model.load_state_dict(state_dict)
25