ssiidd commited on
Commit
01c26e3
1 Parent(s): daa9ddd

fix bug in app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -98,7 +98,7 @@ def inference(wav,lang):
98
  intent=text.split(" ")[0]
99
  scenario=intent.split("_")[0]
100
  action=intent.split("_")[1]
101
- text="{scenario: "+scenario+", action: "+action"}"
102
  # if lang == "chinese":
103
  # wav = text2speechch(text)["wav"]
104
  # scipy.io.wavfile.write("out.wav",text2speechch.fs , wav.view(-1).cpu().numpy())
 
98
  intent=text.split(" ")[0]
99
  scenario=intent.split("_")[0]
100
  action=intent.split("_")[1]
101
+ text="{scenario: "+scenario+", action: "+action+"}"
102
  # if lang == "chinese":
103
  # wav = text2speechch(text)["wav"]
104
  # scipy.io.wavfile.write("out.wav",text2speechch.fs , wav.view(-1).cpu().numpy())