nimool commited on
Commit
4494f71
·
1 Parent(s): f946ebf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def parse_transcription(logits):
45
  # Function to retrieve an answer based on a question (using fuzzy matching)
46
  def get_answer(wav_file, text=None):
47
 
48
- if text=None:
49
  input_values = read_file_and_process(wav_file)
50
  with torch.no_grad():
51
  logits = model(**input_values).logits
 
45
  # Function to retrieve an answer based on a question (using fuzzy matching)
46
  def get_answer(wav_file, text=None):
47
 
48
+ if text==None:
49
  input_values = read_file_and_process(wav_file)
50
  with torch.no_grad():
51
  logits = model(**input_values).logits