Closed DraGonPlan closed 5 months ago
can you help me with this , i am having trouble while setting it up
i noticed this function, but not support yet.My family has had some accidents, it may take half a month to complete the next update
all the best to your family
all the best to your family
Hello,
It does not work, cause when you POST a JSON asking for Lightning perf, the API answers:
{
"detail": [
{
"type": "enum",
"loc": [
"body",
"performance_selection"
],
"msg": "Input should be 'Speed', 'Quality' or 'Extreme Speed'",
"input": "Lightning",
"ctx": {
"expected": "'Speed', 'Quality' or 'Extreme Speed'"
}
}
]
}
Seems to be managed by predict.py
You can fix it by changing lines 32-33 of predict.py
performance_selection: str = Input( default='Lightning',
description="Performance selection", choices=['Speed', 'Quality', 'Extreme Speed', 'Lightning']),
Forked it, built it, deployed it: it works ;)
C.
Hello,
It does not work, cause when you POST a JSON asking for Lightning perf, the API answers:
{ "detail": [ { "type": "enum", "loc": [ "body", "performance_selection" ], "msg": "Input should be 'Speed', 'Quality' or 'Extreme Speed'", "input": "Lightning", "ctx": { "expected": "'Speed', 'Quality' or 'Extreme Speed'" } } ] }
Seems to be managed by predict.py
You can fix it by changing lines 32-33 of predict.py
performance_selection: str = Input( default='Lightning', description="Performance selection", choices=['Speed', 'Quality', 'Extreme Speed', 'Lightning']),
Forked it, built it, deployed it: it works ;)
C.
This file is used for replicate, I will update it later
When I set performance_selection to Lightning, I receive an error message: 422 Unprocessable Entity Is this a bug? Or is it true that the current version does not support Lightning for foocus2.3.0