Hello Guys,
Urgent need help in gemini 1.58B with Audio.
We having getting an issue with not generating content in audio file. From last few weeks our last build the model is working fine with the audio ASR system.
The error that we have got:
google.api_core.exceptions.InvalidArgument: 400 Request contains an invalid argument.
what we have tried are following:
- Different request format : audio_part = { “inline_data”: { “mime_type”: mime_type, “data”: audio_data } }
- With directly google genAI package: audio_part = Part.from_data(mime_type=“audio/wav”, data=audio_bytes)
prompt_part = Part.from_text(AUDIO_PROMPT)
Waiting you for solution. please help us.