Spaces:
broyang
/
Running on Zero

Bobby Claude Opus 5.5 commited on
Commit
df79a87
·
1 Parent(s): 7df6873

Validate the image and texture before requesting a grant

Browse files

Regenerate with no image or an invalid image set or texture size used to
request a grant the webapp counted, then exit before the access check,
stranding the use and leaving a settled entry for the next run. The
grant step now receives the generation image and texture size and
requests no grant for inputs the generation would reject.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

2 files changed +100 -6
Files changed (2)
app.py+27-6
tests/test_grant_requests.pyAdded+73