version: '3.8'
name: tts
services:
  tts-service:
    image: registry.hf.space/ysharma-openai-tts-new:latest
    platform: linux/amd64
    command: python app.py
    ports:
      - "7860:7860"  #:左侧的端口可以自定义
    volumes:
            - '/f/data/tts:/tmp' #会报错但是省掉下载步骤
    stdin_open: true
    tty: true