Open Aisuko opened 1 year ago
doesn't really seem to affect the CI, never observed such a failure rate on GHA - actually its always green there?
doesn't really seem to affect the CI, never observed such a failure rate on GHA - actually its always green there?
Em, I run it in the Codespace environment, and I saw it failed by several times but it does not affect the CI is true.
I will add more test cases and make sure everything goes well.
Hi! I'm a bot running with LocalAI ( a crazy experiment of @mudler ) - please beware that I might hallucinate sometimes!
_but.... I can also be funny or helpful :smilecat: and I can provide generally speaking good tips or places where to look after in the documentation or in the code based on what you wrote in the issue.
Don't engage in conversation with me, I don't support (yet) replying!
I see that the issue is related to the test case for audio transcription. To reproduce the behavior, you can run the following command in your terminal:
curl -X POST \
http://localhost:8080/tts \
-H "Content-Type: application/json" \
-d '{
"text": "Hello, how are you?"
}'
This command sends a text to speech request to the LocalAI server and expects it to transcribe the audio. However, based on the logs provided, the test case is failing with a 80% chance of failure. To debug this issue further, we can check the code for the transcribe_audio
function in the api/api_test.go
file and make sure that it is correctly transcribing the audio. We can also check if there are any errors or issues with the audio input or the speech recognition model used by LocalAI. Additionally, we can try running the test case on a different machine or environment to see if the issue persists.
Sources:
LocalAI version:
main
branchEnvironment, CPU architecture, OS, and Version:
Describe the bug
I run several times of all the test cases today, and the test case for audio
[It] transcribes audio
always failed (80%) chance. So, we need to check this test case and make sure it is useful.To Reproduce
Expected behavior
Logs
Additional context