Update README.md

updated to use docker-compose and how to use docker-compose
This commit is contained in:
binarygeek119 authored and GitHub committed 2024-06-26 22:39:23 -05:00
1 parent 8c5926b83d
commit 5fa071f448
1 file changed
+28 -2
+28 -2
View File
@@ -285,14 +285,40 @@ let this run till complete.
then run this command
`docker run --gpus all -it --name UltraSinger -v $pwd/src/output:/app/src/output ultrasinger`
Docker-Compose
there are two files that you can pick from.
cd into `docker-compose` folder and then cd into `Nvidia` or `NonGPU`
Run `docker-compose up` to download and setup
Nvidia is for if you have a nvidia gpu to use with UltraSinger.
NonGPU is for if you wish to only use the CPU for UltraSinger.
Output
by default the docker-compose will setup the output folder as `/output` inside the docker.
on the host machine it will map to the folder with the `docker-compose.yml` file under `output`
you may chnage this by editing the `docker-compose.yml`
to edit the file.
use any text editor you wish. i would recoment nano.
run `nano docker-compose.yml`
then change this line
` - ./output:/output`
to anything you line for on your host machine.
` - /yourfolderpathhere:/output`
sample
` - /mnt/user/appdata/UltraSinger:/output`
note the blank space before the `-`
formating is important here in this file.
this will create and drop you into the docker.
now run this command.
`python3 UltraSinger.py -i file`
`python3 UltraSinger.py -i file -o /output`
or
`python3 UltraSinger.py -i youtube_url`
`python3 UltraSinger.py -i youtube_url -o /output`
to use mp3's in the folder you git cloned you must place all songs you like in UltraSinger/src/output.
this will be the place for youtube links aswell.
to quit the docker just type exit.
to reenter docker run this command