Spaces:
Runtime error
Runtime error
Add message
Browse files- run_evaluation_jobs.py +3 -1
run_evaluation_jobs.py
CHANGED
|
@@ -45,7 +45,9 @@ def main():
|
|
| 45 |
token=HF_TOKEN,
|
| 46 |
domain=AUTOTRAIN_BACKEND_API,
|
| 47 |
).json()
|
| 48 |
-
print(f"
|
|
|
|
|
|
|
| 49 |
except Exception as e:
|
| 50 |
print(f"There was a problem obtaining the project info for project ID {project_id}")
|
| 51 |
print(f"Error message: {e}")
|
|
|
|
| 45 |
token=HF_TOKEN,
|
| 46 |
domain=AUTOTRAIN_BACKEND_API,
|
| 47 |
).json()
|
| 48 |
+
print(f"π€ Project {project_id} approval response: {train_job_resp}")
|
| 49 |
+
else:
|
| 50 |
+
print(f"πͺ Project {project_id} has already been evaluated. Skipping ...")
|
| 51 |
except Exception as e:
|
| 52 |
print(f"There was a problem obtaining the project info for project ID {project_id}")
|
| 53 |
print(f"Error message: {e}")
|