Spaces:
Running
Running
Commit
·
6291db1
1
Parent(s):
febc1d7
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ model = LionGuard2()
|
|
| 19 |
model.eval()
|
| 20 |
|
| 21 |
# Load model weights
|
| 22 |
-
model_path =
|
| 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 |
|