29 lines
975 B
JSON
29 lines
975 B
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(mkdir:*)",
|
|
"Bash(python:*)",
|
|
"Bash(pip install:*)",
|
|
"Bash(dir:*)",
|
|
"Bash(tesseract:*)",
|
|
"Bash(nvidia-smi:*)",
|
|
"Bash(pip uninstall:*)",
|
|
"Bash(for img in ../../images/train/*.jpg)",
|
|
"Bash(do basename=\"$img##*/\")",
|
|
"Bash(labelname=\"$basename%.jpg.txt\")",
|
|
"Bash(if [ -f \"../../temp_visual_labels/$labelname\" ])",
|
|
"Bash(then cp \"../../temp_visual_labels/$labelname\" .)",
|
|
"Bash(fi)",
|
|
"Bash(done)",
|
|
"Bash(awk:*)",
|
|
"Bash(chcp 65001)",
|
|
"Bash(PYTHONIOENCODING=utf-8 python:*)",
|
|
"Bash(timeout 600 tail:*)",
|
|
"Bash(cat:*)",
|
|
"Bash(powershell -Command \"$response = Invoke-WebRequest -Uri ''http://127.0.0.1:8000/extract_invoice/'' -Method POST -Form @{file=Get-Item ''data\\processed_images\\4BC5E5B3-E561-4A73-BC9C-46D4F08F89C3.png''} -UseBasicParsing; $response.Content\")"
|
|
],
|
|
"deny": [],
|
|
"ask": []
|
|
}
|
|
}
|