Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ import gradio as gr
|
|
| 8 |
|
| 9 |
# -------- CONFIG --------
|
| 10 |
data_dir = "D:/Dataset/face_age"
|
| 11 |
-
checkpoint_path = "
|
| 12 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
| 13 |
print(f"Using device: {device}")
|
| 14 |
|
|
|
|
| 8 |
|
| 9 |
# -------- CONFIG --------
|
| 10 |
data_dir = "D:/Dataset/face_age"
|
| 11 |
+
checkpoint_path = "age_prediction_model2.pth"
|
| 12 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
| 13 |
print(f"Using device: {device}")
|
| 14 |
|