跳到正文
Hugging Face Blog·· 2021-10-05AI 评分22

用 Gradio 在 Hugging Face Spaces 中展示你的项目

Showcase Your Projects in Spaces using Gradio

AI 导读

Hugging Face 博客介绍如何用 Gradio 在 Spaces 中托管和展示机器学习项目演示。通过 gr.Interface.load() 加载 Hub 上的模型仓库 ID,几行代码即可调用 Inference API 完成推理,支持 image-to-text、speech-to-text、text-to-speech 等模型类型。

来源:Hugging Face Blog · huggingface.co