Spaces:
Runtime error
Runtime error
fix permission
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
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,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
|
|
|
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
|