Crawford.Zhou commited on
Commit
1736230
1 Parent(s): 1a17a2c

支持科比+孙笑川+丁真

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -7,15 +7,15 @@ def greet(name, intensity):
7
  if intensity == 0:
8
  client = Client("https://xzjosh-dz-bert-vits2-2-3.hf.space/--replicas/2f0jm/")
9
  result = client.predict(
10
- name,
11
- # str in '输入文本内容' Textbox component
12
  "丁真", # str (Option from: [('丁真', '丁真')]) in 'Speaker' Dropdown component
13
  0.5, # int | float (numeric value between 0 and 1) in 'SDP Ratio' Slider component
14
  0.5, # int | float (numeric value between 0.1 and 2) in 'Noise' Slider component
15
  0.9, # int | float (numeric value between 0.1 and 2) in 'Noise_W' Slider component
16
  1, # int | float (numeric value between 0.1 and 2) in 'Length' Slider component
17
- "auto",
18
  "1.wav",
 
19
  "Howdy!", # str in 'Text prompt' Textbox component
20
  "Text prompt", # str in 'Prompt Mode' Radio component
21
  "Howdy!", # str in '辅助文本' Textbox component
 
7
  if intensity == 0:
8
  client = Client("https://xzjosh-dz-bert-vits2-2-3.hf.space/--replicas/2f0jm/")
9
  result = client.predict(
10
+ name, # str in '输入文本内容' Textbox component
 
11
  "丁真", # str (Option from: [('丁真', '丁真')]) in 'Speaker' Dropdown component
12
  0.5, # int | float (numeric value between 0 and 1) in 'SDP Ratio' Slider component
13
  0.5, # int | float (numeric value between 0.1 and 2) in 'Noise' Slider component
14
  0.9, # int | float (numeric value between 0.1 and 2) in 'Noise_W' Slider component
15
  1, # int | float (numeric value between 0.1 and 2) in 'Length' Slider component
16
+ "auto", # str (Option from: [('ZH', 'ZH'), ('JP', 'JP'), ('EN', 'EN'), ('auto', 'auto'), ('mix', 'mix')]) in 'Language' Dropdown component
17
  "1.wav",
18
+ # str (filepath on your computer (or URL) of file) in 'Audio prompt' Audio component
19
  "Howdy!", # str in 'Text prompt' Textbox component
20
  "Text prompt", # str in 'Prompt Mode' Radio component
21
  "Howdy!", # str in '辅助文本' Textbox component