Harshad Bhandwaldar commited on
Commit
9e20fea
·
1 Parent(s): 2c3936b

model added

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,8 +17,8 @@ def speech_youtube(x):
17
  return text['text']
18
 
19
  def speech_file(x):
20
- text = model.transcribe([x])
21
- return text['text']
22
 
23
  def speech_record(x):
24
  text = model.transcribe(x)
 
17
  return text['text']
18
 
19
  def speech_file(x):
20
+ text = model.transcribe([f"{x}"])
21
+ return text
22
 
23
  def speech_record(x):
24
  text = model.transcribe(x)