Spaces:
Runtime error
Error in validation
@sanchit-gandhi , the u7 assessment space is giving an error.
I am not sure what is wrong since the STST space I created seems to fulfil all the requirements, it is public and it accepts a file as input (in fact I have just cloned it from the demo space).
My space: ercaronte/speech-to-speech-translation
I did some debugging, and it seems to be an issue with the gradio client version running in the space container of the assessment space - gradio[oauth]==3.36.1 gradio_client==0.2.7. Ref. https://github.com/gradio-app/gradio/issues/4884
I tried on a colab notebook to replicate the issue, and I could get the same errror with the gradio/client running in hf space container, while everything is solved with the current gradio version. Not sure how to fix this, maybe by adding two lines gradio==3.47.1
and gradio_client==0.6.0
(the latest versions) to the requirement.txt
file? Or maybe we can upgrade the space container to a more recent version?
I got it, it is simply a matter of specifying the gradio version in the readme.md file.
I changed from 3.36.1 to the current latest version, 3.47.1 in a cloned space - ercaronte/audio-course-u7-assessment
- and it works just fine.
In my cloned space I could get the thrill of passing my Unit 7 assignment :-D
I am creating a PR for the huggingface-course/audio-course-u7-assessment
space, so that as soon as approved, I should be able to pass the Unit 7 exercise officially as well.
Great find @ercaronte ! Thanks for digging into this and opening a PR to fix it 🤗 I've merged the corresponding PR, and wish you all the best with the remainder of the audio course! Let us know if you encounter any difficulties, either on the Hub or on GitHub, and we'll do our best to help!
Thank you
@sanchit-gandhi
!
Everything seems to work now.
Closing this :-)