Spaces:
Running
Running
Upload app.py
Browse files
app.py
CHANGED
|
@@ -50,7 +50,7 @@ def get_predictor():
|
|
| 50 |
|
| 51 |
# The age/gender checkpoint is no longer publicly hosted on HF.
|
| 52 |
# We expect the user to have uploaded it directly to the HF Space.
|
| 53 |
-
checkpoint_path = "model_imdb_cross_person_4.
|
| 54 |
if not os.path.exists(checkpoint_path):
|
| 55 |
raise FileNotFoundError(f"Checkpoint {checkpoint_path} not found in Space root! Please upload it.")
|
| 56 |
|
|
|
|
| 50 |
|
| 51 |
# The age/gender checkpoint is no longer publicly hosted on HF.
|
| 52 |
# We expect the user to have uploaded it directly to the HF Space.
|
| 53 |
+
checkpoint_path = "model_imdb_cross_person_4.24_99.46.pth.tar"
|
| 54 |
if not os.path.exists(checkpoint_path):
|
| 55 |
raise FileNotFoundError(f"Checkpoint {checkpoint_path} not found in Space root! Please upload it.")
|
| 56 |
|