cocktailpeanut commited on
Commit
6025f40
·
1 Parent(s): ff1c7b7
Files changed (1) hide show
  1. app_locally.py +3 -3
app_locally.py CHANGED
@@ -96,14 +96,14 @@ def predict(prompt, audio_file_pth, mic_file_path, use_mic, language):
96
  examples = [
97
  [
98
  "今天天气真好,我们一起出去吃饭吧。",
99
- 'default',
100
  "examples/speaker0.mp3",
101
  None,
102
  False,
103
  True,
104
  ],[
105
  "This audio is generated by open voice with a half-performance model.",
106
- 'whispering',
107
  "examples/speaker1.mp3",
108
  None,
109
  False,
@@ -111,7 +111,7 @@ examples = [
111
  ],
112
  [
113
  "He hoped there would be stew for dinner, turnips and carrots and bruised potatoes and fat mutton pieces to be ladled out in thick, peppered, flour-fattened sauce.",
114
- 'sad',
115
  "examples/speaker2.mp3",
116
  None,
117
  False,
 
96
  examples = [
97
  [
98
  "今天天气真好,我们一起出去吃饭吧。",
99
+ # 'default',
100
  "examples/speaker0.mp3",
101
  None,
102
  False,
103
  True,
104
  ],[
105
  "This audio is generated by open voice with a half-performance model.",
106
+ # 'whispering',
107
  "examples/speaker1.mp3",
108
  None,
109
  False,
 
111
  ],
112
  [
113
  "He hoped there would be stew for dinner, turnips and carrots and bruised potatoes and fat mutton pieces to be ladled out in thick, peppered, flour-fattened sauce.",
114
+ # 'sad',
115
  "examples/speaker2.mp3",
116
  None,
117
  False,