HuggingFace Image Generation

返回项目列表
HuggingFace Image Generation
已发布
Python / HuggingFace / Gradio

实现基于 HuggingFace API 的图像生成服务

HuggingFace Image Generation

本项目为福州大学 2026 年软件工程课程的项目,用于实现基于 HuggingFace API 的图像生成服务。

本项目仅为学习研究使用,不涉及任何商业用途,也不建议在生产环境中使用。

Structure#

/.gitignore.python-versionREADME.mdREADME_EN.mdLICENSEsrchf_image_gen_rt265__init__.py (Export modules)main.py (Main entry point & Gradio interface)service.py (Image generation service).env.examplepyproject.tomluv.lock
/.gitignore.python-versionREADME.mdREADME_EN.mdLICENSEsrchf_image_gen_rt265__init__.py (Export modules)main.py (Main entry point & Gradio interface)service.py (Image generation service).env.examplepyproject.tomluv.lock

Development#

Terminal window
# Install
uv sync
# Starting service
hf-image-gen-rt265
# Lint
ruff check
# Formatter
ruff format --check .
# Type check
ty check

Credits & License#

本项目参考了 155TuT 的项目,但没有使用其专有代码。

本项目采用 MIT License 授权。

Copyright (c) 2026 rt265

Profile Image of the Author
Watermelonabc
追寻各色世界
🎉 抓到你啦
欢迎来到 Watermelonabc 的 Blog!这个博客主要是技术向的内容,现在也有生活元素了 OwO
分类
文章目录