File size: 2,184 Bytes
558c90a
 
 
5cc6322
558c90a
 
 
 
 
5cc6322
558c90a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5cc6322
558c90a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
  "app_config": {
    "locale": {
      "default": "zh_CN",
      "description": "Locale settings for the application",
      "label": "语言",
      "type": "string"
    },
    "server_port": {
      "default": 7860,
      "description": "Port number for the application, -1 for auto select",
      "label": "服务端口",
      "type": "integer"
    },
    "server_name": {
      "default": "0.0.0.0",
      "description": "Host address for the application",
      "label": "服务主机",
      "type": "string",
      "choices": ["127.0.0.1", "0.0.0.0"]
    },
    "inbrowser": {
      "default": true,
      "description": "Flag to indicate if the application is running in browser",
      "label": "是否在浏览器中打开",
      "type": "boolean"
    },
    "synthesizer": {
      "default": "gsv_fast",
      "description": "Synthesizer used by app.py, 'remote' for using TTS service running on a remote host",
      "label": "Web UI 所采用的语音合成器",
      "type": "string",
      "choices": ["gsv_fast", "remote"]
    },
    "also_enable_api": {
      "default": true,
      "description": "Flag to indicate if API is enabled",
      "label": "是否启用API",
      "type": "boolean"
    },
    "max_text_length": {
      "default": -1,
      "description": "Maximum length of text to synthesize in Web UI",
      "label": "Max Text Length",
      "type": "integer"
    },
    "is_share": {
      "default": false,
      "description": "Flag to indicate if sharing is enabled",
      "label": "是否分享",
      "type": "boolean"
    }
  },
  "pure_api_config": {
    "tts_port": {
      "default": 7860,
      "description": "Port number for TTS service",
      "label": "tts服务端口",
      "type": "integer"
    },
    "tts_host": {
      "default": "0.0.0.0",
      "description": "Host address for TTS service",
      "label": "tts主机端口",
      "type": "string",
      "choices": ["127.0.0.1", "0.0.0.0"]
    },
    "synthesizer": {
      "default": "gsv_fast",
      "description": "Synthesizer used by api.py",
      "label": "api.py 所采用的语音合成器",
      "type": "string",
      "choices": ["gsv_fast"]
    }
  }
}