如何在 GCP 上使用 Streamlit 将 GCP 中的 automl 模型部署为 Web 应用程序

发布于 2025-01-15 07:41:52 字数 155 浏览 4 评论 0原文

我计划构建一个应用程序,以新闻形式询问用户输入并预测其是假还是真的。 我已经在 Vertex AI 平台上使用 automl 谷歌云平台(GCP)训练了模型。我已经创建了端点。

如何进一步进行?如何在不下载本地系统上任何内容的情况下构建应用程序? (所有这一切都应该建立在GCP上)

I plan to build an application which asks user input in the form of news and predicts it as fake or true.
i have trained the model using automl google cloud platform (GCP) on vertex AI platform. I have created the endpoint.

How to proceed further? How to build an app without downloading anything on local system? (all of this should be built on GCP)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦里梦着梦中梦 2025-01-22 07:41:52

好吧,您可能必须首先在本地构建,至少进行测试。我建议使用精简的应用程序。此外,您还需要了解如何处理机密并使用 Cloud Run 进行构建。

我有一个教程,展示如何使用 Streamlit 应用程序,使用部署的 Vertex AI' 端点来实现此目的: https://dev.to/afrologicinsect/lets-build-your-first-ml-app-in-google-cloud-run-1ol2

Well, you may have to build locally @ first, to at least test. I'd suggest a streamlit application. Also, you would need to understand how to Handle secrets and building with Cloud Run.

I have a tutorial that shows to achieve this with a Streamlit App, using a deployed Vertex AI' endpoint: https://dev.to/afrologicinsect/lets-build-your-first-ml-app-in-google-cloud-run-1ol2

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文