All ports in use
Hello everyone!I’ve been getting “OSError: All ports from 7860 to 7861 are in use. Please close a port.” this error while using space. Is there any suggestion to fix the problem?
2022-08-10T13:05:03Z
Hello@Neslihan, nice to see you around hereIt’s good to restart a Space from the settings. (I restarted it for you, it works but you have aSyntaxErrorfrom what I see)All the best,Merve
2022-08-10T13:12:26Z
Thank you@merveI’ve corrected the SyntaxError. The current version is working perfectly on my local machine. I’ve also restarted the space after the correction. But I’m still getting the same error. I might be using gradio-launch wrongly. I will check the documentation.
2022-08-10T13:14:29Z
@NeslihanI did another factory reset and I got the error again, I’m checking with the Spaces team to solve your problem. Thanks a lot for your patience
2022-08-10T13:17:13Z
Thank you@merve(and big thanks for introducing huggingface to us)
2022-08-10T13:20:45Z
Hello Neslihan,You set the SDK to streamlit but it should be gradio, I opened a pull request to your Space’s repository.
2022-08-10T13:35:52Z
I merged your pull request and additionally changed the SDK version. It’s working now, thank you@merve
2024-02-04T04:34:15Z
Hello,I am facing the same port problem. I have restarted my Space, changed ports and checked SDK. What is weird is that the problem is appearing even when I reverted to previous versions of my app. I even removed the Space and recreated it again. First time app was ok but as soon as I added a new tab for RAG using HuggingFacesInstructEmbeddings I ran into the error again.Do you have any idea?All the best,Pierre-Emmanuel