Spaces:
Sleeping
Sleeping
Update status_checker.py
Browse files- status_checker.py +2 -0
status_checker.py
CHANGED
|
@@ -16,6 +16,8 @@ output_dataset_id = "nateraw/asdf123"
|
|
| 16 |
# Where user will write outputs from their script
|
| 17 |
outputs_dir = Path('outputs')
|
| 18 |
|
|
|
|
|
|
|
| 19 |
# A file that marks that the script has finished running
|
| 20 |
# TODO - maybe check process like this instead of with done.txt: https://stackoverflow.com/a/2944076
|
| 21 |
output_file = Path('done.txt')
|
|
|
|
| 16 |
# Where user will write outputs from their script
|
| 17 |
outputs_dir = Path('outputs')
|
| 18 |
|
| 19 |
+
print(f"USER SCRIPT PID? - {os.getenv("USER_SCRIPT_PID", None)}")
|
| 20 |
+
|
| 21 |
# A file that marks that the script has finished running
|
| 22 |
# TODO - maybe check process like this instead of with done.txt: https://stackoverflow.com/a/2944076
|
| 23 |
output_file = Path('done.txt')
|