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

huangapple go评论53阅读模式
英文:

How can I integrate OpenAI Whisper model into a Kotlin app?

问题

我需要指导如何将Whisper OpenAI集成到我使用Kotlin在Android Studio开发的Android应用程序中。不幸的是,我尚未找到任何关于在这个特定环境中安装和使用Whisper的相关指示或详细信息。我想要使用Whisper来将音频转录为文本。

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

英文:

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.

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

答案1

得分: 0

我在我的应用程序中使用了Chaquopy添加了Python代码,这对我来说已经被证明是一个令人满意的解决方案。但如果你仍然想使用Kotlin代码,你可以使用curl。这是链接:https://platform.openai.com/docs/api-reference/making-requests

英文:

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: https://platform.openai.com/docs/api-reference/making-requests

huangapple
  • 本文由 发表于 2023年6月12日 20:40:44
  • 转载请务必保留本文链接:https://go.coder-hub.com/76456764.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定