- Update ASR, face, OCR, pose processors - Add release pre-flight check script - Add synonym generation, chunk processing scripts - Add face recognition, stamp search utilities
22 lines
523 B
Python
22 lines
523 B
Python
#!/opt/homebrew/bin/python3.11
|
|
"""
|
|
Test script to see what arguments are being passed
|
|
"""
|
|
|
|
import sys
|
|
import json
|
|
|
|
print("Arguments received:")
|
|
for i, arg in enumerate(sys.argv):
|
|
print(f" {i}: {arg}")
|
|
|
|
# Write output file
|
|
output = {"success": True, "message": "Test successful", "args": sys.argv}
|
|
|
|
# Output path should be the second argument
|
|
if len(sys.argv) > 2:
|
|
output_path = sys.argv[2]
|
|
with open(output_path, "w") as f:
|
|
json.dump(output, f, indent=2)
|
|
print(f"Output written to: {output_path}")
|