您的位置:首页 > 文旅 > 旅游 > 网页版微博_网络推广工作是做什么的_模板之家官网_百度seo优化技巧

网页版微博_网络推广工作是做什么的_模板之家官网_百度seo优化技巧

2024/10/6 5:43:11 来源:https://blog.csdn.net/suiusoar/article/details/142413821  浏览:    关键词:网页版微博_网络推广工作是做什么的_模板之家官网_百度seo优化技巧
网页版微博_网络推广工作是做什么的_模板之家官网_百度seo优化技巧

题意:  如何将 OpenAI Whisper 模型集成到 Kotlin 应用程序中?

问题背景:

I require guidance on incorporating Whisper OpenAI into my Android application developed with Kotlin in Android Studio. Unfortunately, I haven't come across any relevant instructions or details regarding its installation and utilization in this particular environment. I would like to use Whisper for transcribing audio to text.

我需要关于将 OpenAI Whisper 集成到我使用 Kotlin 在 Android Studio 开发的 Android 应用程序中的指导。不幸的是,我没有找到关于在这个特定环境中安装和使用它的相关说明或细节。我希望使用 Whisper 将音频转录为文本。

I am attempting to establish a connection between Whisper and my Android application developed using Kotlin.

我正在尝试在我使用 Kotlin 开发的 Android 应用程序中建立与 Whisper 的连接。

问题解决:

I added Python code using Chaquopy in my app, and it has proven to be a satisfactory solution for me. But if you want still use kotlin code, you can use curl. Here it is: 

我在应用中使用 Chaquopy 添加了 Python 代码,这对我来说是一个不错的解决方案。但如果你仍然想使用 Kotlin 代码,可以使用 curl。代码如下:

https://platform.openai.com/docs/api-reference/making-requests

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com