GrandaddyShmax / audiocraft_plus

Audiocraft is a library for audio processing and generation with deep learning. It features the state-of-the-art EnCodec audio compressor / tokenizer, along with MusicGen, a simple and controllable music generation LM with textual and melodic conditioning.
MIT License
561 stars 63 forks source link

--listen flag returns error #24

Open Ainaemaet opened 1 year ago

Ainaemaet commented 1 year ago

Hello, trying to use the --listen flag so that I can access the UI from another computer in my LAN and I get the following error: app.py: error: argument --listen: expected one argument

I've tried putting the port number and/or IP (x.x.x.x:xxxx) in various ways, and each time I get a 'False ERROR: [Errno -2] Name or service not known' or ' False ERROR: [Errno 99] error while attempting to bind on address ('0.0.30.180', 7860): cannot assign requested address' or similar error.

How do we use listen properly with this code?

EDIT: Ok, I figured it out - if you are having the same issue try putting --listen 0.0.0.0

GrandaddyShmax commented 1 year ago

it is strange though that they made it require another parameter but glad you got it worked out 👍