Commit 029c34f
authored
Add batch size in the Constructor.
Using 10 as batch size was throwing an issue :
"error": {
"message": "{'task\_type': 'text2im', 'prompt': {'caption': 'portal to another dimension, digital art', 'batch\_size': 10}} is not valid under any of the given schemas",
"type": "invalid\_request\_error",
"param": null,
"code": null
}
}1 parent 7b6edaf commit 029c34f
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | | - | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
0 commit comments