niten
|
cb5aaf3efc
|
Okay, now lock some stuff
|
2023-01-22 16:17:03 -08:00 |
niten
|
f92c5ce3a3
|
Fuck it, allow everything for now
|
2023-01-22 16:08:13 -08:00 |
niten
|
9ea8c59f48
|
Try setting TMPDIR
|
2023-01-22 15:52:24 -08:00 |
niten
|
2446c2bd4b
|
Remove some protections
|
2023-01-22 15:37:01 -08:00 |
niten
|
48cac03ec9
|
Allow read/write on /run
|
2023-01-22 15:03:05 -08:00 |
niten
|
8f25a59324
|
Harden the module service.
|
2023-01-12 11:15:43 -08:00 |
niten
|
a0af563334
|
Fix typo: dectection -> detection
|
2023-01-11 16:50:17 -08:00 |
niten
|
686cfefc06
|
Move to idiomatic python instead of map
...And strip newline from labels.
|
2023-01-11 16:32:22 -08:00 |
niten
|
4302d1d706
|
Forgot to read labels file
|
2023-01-10 23:17:47 -08:00 |
niten
|
a8a58a078c
|
Try forcing labels to strings...
|
2023-01-10 23:05:42 -08:00 |
niten
|
6bf366b68a
|
We didn't actually import `path`
|
2023-01-10 16:31:30 -08:00 |
niten
|
a312942a0d
|
Hack the filename + url
|
2023-01-10 16:21:32 -08:00 |
niten
|
9dd9e38eab
|
Be more specific about where to write the outfile
|
2023-01-10 16:07:55 -08:00 |
niten
|
50a22caea1
|
WTF is with Python map?
|
2023-01-10 15:51:09 -08:00 |
niten
|
77813871a2
|
Print what we're returning
|
2023-01-10 15:46:08 -08:00 |
niten
|
928ce39d68
|
Eww...json needs 2-char min keys?
|
2023-01-10 15:11:35 -08:00 |
niten
|
aaba00be01
|
Correct variable name
|
2023-01-10 14:48:22 -08:00 |
niten
|
62d5bb7c2b
|
Ensure we're passing a string to `imread`
|
2023-01-10 14:20:31 -08:00 |
niten
|
c903c73270
|
Open file in binary mode
|
2023-01-10 14:10:40 -08:00 |
niten
|
0915ec019b
|
Need to type-cast int
|
2023-01-10 13:23:41 -08:00 |
niten
|
70f3283d80
|
Need to do it for both reads
|
2023-01-10 12:06:11 -08:00 |
niten
|
61c06c94b2
|
Read from the wrapped `file`
|
2023-01-10 11:30:43 -08:00 |
niten
|
7ba41ca26c
|
Update with chunks again
|
2023-01-10 11:01:27 -08:00 |
niten
|
cdc033f541
|
Removed unnecessary `open`
|
2023-01-09 11:14:25 -08:00 |
niten
|
e71fdd6977
|
Need to create file, too
|
2023-01-09 11:03:01 -08:00 |
niten
|
1e3012bf7f
|
Give `UploadFile` another try
|
2023-01-09 10:53:11 -08:00 |
niten
|
8254b94a88
|
Didn't import `re`
|
2023-01-09 10:42:16 -08:00 |
niten
|
35cc4221a1
|
Give parameter a better name: image
|
2023-01-09 10:29:03 -08:00 |
niten
|
d97d1205b4
|
...But it doesn't work. Ugh.
|
2023-01-09 10:22:57 -08:00 |
niten
|
c4e78898a9
|
Put is more appropriate, though...
|
2023-01-09 09:30:55 -08:00 |
niten
|
c7d07b4389
|
Switch to post method
|
2023-01-08 17:18:16 -08:00 |
niten
|
24327fe351
|
Try using File() instead of UploadFile()
|
2023-01-08 16:26:09 -08:00 |
niten
|
8c6b0fa2fe
|
Maybe I don't want this to be async
|
2023-01-07 17:31:52 -08:00 |
niten
|
22414a4378
|
Add simple logging
|
2023-01-07 17:19:06 -08:00 |
niten
|
a5b9ee4cd7
|
Seems like reloading doesn't work?
|
2023-01-07 16:59:07 -08:00 |
niten
|
139cba1e39
|
unused import
|
2023-01-07 16:47:07 -08:00 |
niten
|
d61b62e973
|
Add module string, sigh
|
2023-01-07 16:46:52 -08:00 |
niten
|
f9e1411a5b
|
Forgot to import Thread
|
2023-01-07 16:42:25 -08:00 |
niten
|
f7b6fb5c65
|
Might have to name the dirs?
|
2023-01-07 16:27:12 -08:00 |
niten
|
463ab4f26a
|
Try explicitly exporting sysd env vars
|
2023-01-07 16:16:03 -08:00 |
niten
|
b7dbe33d4b
|
Copying the wrong python file...ugh
|
2023-01-07 15:56:12 -08:00 |
niten
|
12846d890a
|
Remove stupid cache
|
2023-01-07 15:54:52 -08:00 |
niten
|
d720f70668
|
...And export it
|
2023-01-07 15:44:12 -08:00 |
niten
|
5331b28626
|
PYTHONPATH doesn't exist already...
|
2023-01-07 15:43:00 -08:00 |
niten
|
b96682c40f
|
Need to set the PYTHONPATH somehow
|
2023-01-07 15:28:54 -08:00 |
niten
|
1271ce614a
|
Why does `path` never work...?
|
2023-01-07 14:58:07 -08:00 |
niten
|
00bc4d1da7
|
Try a different tack...
|
2023-01-07 14:47:35 -08:00 |
niten
|
931c60ee57
|
Include everything independenly
|
2023-01-07 14:10:20 -08:00 |
niten
|
0de918c1fe
|
Add mkOption
|
2023-01-07 13:41:23 -08:00 |
niten
|
c51aaedb1d
|
Why is delay a set?
|
2023-01-07 12:43:18 -08:00 |