created a user interface using Next.js. #330
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I created the interface just in case a user might need a web page. I have the existing server with valid accounts running first, and then I run the newly created web frontend page. The backend and frontend are compatible, so when the frontend sends an image generation prompt to the backend within a request, the backend processes it and sends the image URL back to the frontend. The web page refreshes every second, and the image will be displayed. Additionally, I've set it up to allow image downloads under the "public" directory.
For more detailed information, please refer to the README.md file, and you can find the usage commands there as well.
我创建了这个界面,以防用户可能需要一个网页。我首先启动了具有有效帐户的现有服务器,然后运行了新创建的Web前端页面。后端和前端是兼容的,因此当前端将图像生成提示包含在请求中发送到后端时,后端会处理它并将图像URL发送回前端。网页每秒刷新一次,图像将会显示。此外,我已设置允许在“public”目录下进行图像下载。
有关更详细的信息,请参阅README.md文件,您可以在其中找到使用命令。