Replies: 1 comment
-
thank you, that's nice |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My use case is I run a container with FooocusAPI with a celery worker that feeds it jobs synchronously one at a time. I spin up multiple of these containers to handle large image generation jobs. They all share a network storage for models and output images. The public side image retrieval is handled by either Nginx or a frontend API.
Being able to provide FooocusAPI the public image URL is important because the worker pods are short-lived and will go away so their API won't be able to serve the image.
Would you consider some logic that if the base-url has a scheme, to use the entire string?
I would spin up FooocusAPI something like
python launch.py --base-url=http://example.com
Reference code below and my proposal at the bottom.
Cheers
FooocusAPI/apis/api.py
Lines 41 to 59 in e9d2485
Beta Was this translation helpful? Give feedback.
All reactions