mskov commited on
Commit
c3e8c6d
Β·
1 Parent(s): 779414c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -30,7 +30,7 @@ tokenized_dataset = miso_tokenizer(tempDataset) # Tokenize the dataset
30
 
31
  input_ids = features.input_ids
32
  attention_mask = features.attention_mask
33
-
34
  # Evaluate the model
35
  model.eval()
36
  with torch.no_grad():
@@ -47,7 +47,7 @@ wer_score = wer(labels, predicted_text)
47
 
48
  # Print or return WER score
49
  print(f"Word Error Rate (WER): {wer_score}")
50
-
51
  '''
52
  print("check check")
53
  print(inputs)
 
30
 
31
  input_ids = features.input_ids
32
  attention_mask = features.attention_mask
33
+ '''
34
  # Evaluate the model
35
  model.eval()
36
  with torch.no_grad():
 
47
 
48
  # Print or return WER score
49
  print(f"Word Error Rate (WER): {wer_score}")
50
+ '''
51
  '''
52
  print("check check")
53
  print(inputs)