Streamlit app not working suddenly

Hi guys my Streamlit app has suddenly stopped working. I am not able to log into my community could account is well. I’m getting this error when I try to log into the community cloud to relaunch my app.

Would really appreciate some help with this urgently as I have to present this for a competition soon and I’m stressing out over this.

Hi @SidRoy89,

Thanks for posting! Can you share the link to your app?

Hi its sound-sage.streamlit.app

Hey @SidRoy89,

I’m not seeing an app at that URL – have you changed the subdomain?

Hey yeah i removed the app and deleted it here’s the issue now . So I’m using a python package called vamp and chord-extractor. Vamp requires numpy to already be downloaded, but the way streamlit installs packages it would give me an error . My fix for that was to initially remove vamp and chord-extractor from the requirements.txt file , deploy the app and then add them there so that streamlit pulls the code changes from there and then download those packages.
While trying to redeploy the app this method is not working and hence the app does not get deployed.

would appreciate any guidance you can give for the same . Thank you

As of now I have released a version of sound-sage.streamlit.app without the functionality that uses vamp and chord-extractor. But that really is an integral part of the app and I really need it running.

There are a few problems:

  • vamp is very old and probably no longer maintained.
  • vamp requires numpy for installation, which I think is bad practice.
  • streamlit cloud does not have the option of a “pip multi step installation”.
  • cloud-extractor has vamp as a dependency.

Possible solution would be to replace vamp with vamphost, which seems to resolve the numpy issue. But cloud-extractor still enforces the installation of the old vamp.
So the only option is to fork cloud-extractor to remove this dependency.

I have done this and changed the dependencies:

Therefore you could add the following line to your requirements.txt file:

chord-extractor-vamphost @ git+https://github.com/Franky1/chord-extractor.git@master

But of course you have to remove all other entries for vamp and chord-extractor from requirements.txt file.

Should work for Python Versions >= 3.8


If you need any further help, please share the link to your public github repo.

1 Like

Hey Franky!

Thanks for the response I will try this out and get back to you if I require further help. once again thank you so much, I really appreciate it!