Kevin676 commited on
Commit
bf6260d
1 Parent(s): e38cc6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -111,9 +111,9 @@ def evaluate(
111
 
112
  # tts.tts_to_file(res1, speaker_wav = upload, language="en", file_path="output.wav")
113
 
114
- # return [result.text, res]
115
 
116
- return [result.text, res]
117
 
118
  # yield out_str.strip()
119
 
@@ -131,10 +131,6 @@ g = gr.Interface(
131
  gr.components.Slider(0.0, 1.0, step=0.1, value=0.4), # countPenalty
132
  ],
133
  outputs=[
134
- gr.inputs.Textbox(
135
- lines=1,
136
- label="Speech to Text",
137
- ),
138
  gr.inputs.Textbox(
139
  lines=5,
140
  label="Raven Output",
 
111
 
112
  # tts.tts_to_file(res1, speaker_wav = upload, language="en", file_path="output.wav")
113
 
114
+ return res
115
 
116
+ # return [result.text, res]
117
 
118
  # yield out_str.strip()
119
 
 
131
  gr.components.Slider(0.0, 1.0, step=0.1, value=0.4), # countPenalty
132
  ],
133
  outputs=[
 
 
 
 
134
  gr.inputs.Textbox(
135
  lines=5,
136
  label="Raven Output",