ysharma HF staff commited on
Commit
a1f8c85
1 Parent(s): 6c3ad82
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ headers = {"Authorization": f"Bearer {HF_TOKEN}"}
12
 
13
  def fun(audio) : #, state=''):
14
  text1 = model.transcribe(audio)["text"]
15
- text2 = lang_model_response(text)
16
  return text1, text2
17
 
18
  def lang_model_response(prompt):
 
12
 
13
  def fun(audio) : #, state=''):
14
  text1 = model.transcribe(audio)["text"]
15
+ text2 = lang_model_response(text1)
16
  return text1, text2
17
 
18
  def lang_model_response(prompt):