I'm using the latest Fooocus and Fooocus-API code, but failed to complete text-to-image request, the error message says:
File "/home/appuser/repo/Fooocus-API/fooocusapi/api.py", line 88, in text2img_generation
results = call_worker(req, accept)
File "/home/appuser/repo/Fooocus-API/fooocusapi/api.py", line 65, in call_worker
results = process_generate(queue_task, params)
File "/home/appuser/miniconda3/envs/fooocus-api/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/home/appuser/miniconda3/envs/fooocus-api/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/home/appuser/repo/Fooocus-API/fooocusapi/worker.py", line 25, in process_generate
import modules.constants as constants
ModuleNotFoundError: No module named 'modules.constants'
I have updated conda env by conda env update -f environment.yaml, but that just not work still.
I'm using the latest Fooocus and Fooocus-API code, but failed to complete text-to-image request, the error message says:
I have updated conda env by
conda env update -f environment.yaml
, but that just not work still.