lengyue233 commited on
Commit
15b623a
1 Parent(s): 53d68dc

fix permission

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04 AS fish-diffusion
2
 
3
  # Install Poetry
4
  RUN apt-get update && apt-get install -y git curl python3 python3-pip build-essential ffmpeg libsm6 libxext6
@@ -16,5 +16,6 @@ RUN poetry install
16
 
17
  COPY checkpoint.ckpt checkpoints/checkpoint.ckpt
18
  COPY exp_hifisinger.py configs/exp_hifisinger.py
 
19
 
20
- CMD python3 /root/fish-diffusion/tools/hifisinger/inference.py --config /root/fish-diffusion/configs/exp_hifisinger.py --checkpoint /root/fish-diffusion/checkpoints/checkpoint.ckpt --speaker opencpop --max_slice_duration 120 --min_silence_duration 2 --gradio
 
1
+ FROM nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04
2
 
3
  # Install Poetry
4
  RUN apt-get update && apt-get install -y git curl python3 python3-pip build-essential ffmpeg libsm6 libxext6
 
16
 
17
  COPY checkpoint.ckpt checkpoints/checkpoint.ckpt
18
  COPY exp_hifisinger.py configs/exp_hifisinger.py
19
+ RUN chmod -R 777 /root/fish-diffusion
20
 
21
+ CMD python3 tools/hifisinger/inference.py --config configs/exp_hifisinger.py --checkpoint checkpoints/checkpoint.ckpt --speaker opencpop --max_slice_duration 120 --min_silence_duration 2 --gradio