diff --git a/upload-image/notes.txt b/upload-image/notes.txt index d074e93..507b1fa 100644 --- a/upload-image/notes.txt +++ b/upload-image/notes.txt @@ -25,4 +25,10 @@ def prune_prompt(prompt): And call that from if h[x] == "PROMPT": - input_data_all[x] = prune_prompt(prompt) \ No newline at end of file + input_data_all[x] = prune_prompt(prompt) + + +It also requires increasing the maximum request size on the API in server.py + self.app = web.Application(client_max_size=20971520) + +Or some other sensible limit