lengyue233 commited on
Commit
3f55302
1 Parent(s): 15b623a

update gradio listening

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -18,4 +18,7 @@ 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
 
18
  COPY exp_hifisinger.py configs/exp_hifisinger.py
19
  RUN chmod -R 777 /root/fish-diffusion
20
 
21
+ ENV GRADIO_SERVER_NAME=0.0.0.0
22
+ ENV GRADIO_SERVER_PORT=7860
23
+
24
  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