coronasafe / ayushma

Empowering Nurses with Multilingual ICU Protocols. Leveraging the rapid advancements in AI technology, created multilingual interfaces that assist nurses in rapidly upgrading their knowledge about ICU protocols.
https://ayushma-api.ohc.network
MIT License
7 stars 8 forks source link

Compatibility Issue with OpenAI Whisper Implementation in openai>=1.0.0 #429

Closed Ashesh3 closed 3 months ago

Ashesh3 commented 4 months ago

We are facing a compatibility issue with our OpenAI Whisper implementation. The current codebase attempts to use openai.Audio, which is no longer supported in the latest OpenAI Python library version (openai>=1.0.0).

Error Message:

You tried to access openai.Audio, but this is no longer supported in openai>=1.0.0 - see the README at https://github.com/openai/openai-python for the API. You can run `openai migrate` to automatically upgrade your codebase to use the 1.0.0 interface. Alternatively, you can pin your installation to the old version, e.g. `pip install openai==0.28`

Proposed Solutions:

  1. Automatic Codebase Upgrade: Run openai migrate to automatically update our codebase to be compatible with the openai>=1.0.0 interface.

A detailed migration guide is available here: OpenAI Python Migration Guide.

Action Items:

Ashesh3 commented 3 months ago

@ishanExtreme you mentioned that you were working on a fix for this issue, what's the status of the fix?

ishanExtreme commented 3 months ago

@ishanExtreme you mentioned that you were working on a fix for this issue, what's the status of the fix?

Expected to fix it by today...