Closed lvalics closed 1 month ago
Thank you very much for your contribution. However, we may need to avoid supporting an excess of APIs. Our goal in adding features is to substantively accelerate the creative process of users. From this perspective, providing support for Gradio alone should suffice. I have encountered some restrictions from my superiors which may limit my actions on this repository. Therefore, I may be very cautious about merge operations in the future.
No problem. I will have a copy for me then with API. I have a project where I will use it with API only. I will contribute with other things then. From my TODO file, what is the most important for you?
You can call it with JSON now on port 8000, like http://localhost:8000/generate The response is
{ "image_paths": [ "https://localhost:8000/results/20240516-095821/image_0.png", "https://localhost:8000/results/20240516-095821/image_1.png", "https://localhost:8000/results/20240516-095821/image_2.png", "https://localhost:8000/results/20240516-095821/image_3.png", "https://localhost:8000/results/20240516-095821/image_4.png", "https://localhost:8000/results/20240516-095821/image_5.png" ] }
Not yet working to read the image from URL back, but will fix that. Is an early alpha.