Hunzla commited on
Commit
c576782
1 Parent(s): ab89995

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ from transformers import pipeline
2
  asr_pipe = pipeline("automatic-speech-recognition", model="Abdullah17/whisper-small-urdu")
3
  from difflib import SequenceMatcher
4
  import json
5
- with open("tasks.json", "r") as json_file:
6
  urdu_data = json.load(json_file)
7
  # List of commands
8
  # commands = [
 
2
  asr_pipe = pipeline("automatic-speech-recognition", model="Abdullah17/whisper-small-urdu")
3
  from difflib import SequenceMatcher
4
  import json
5
+ with open("tasks.json", "r",encoding="utf-8") as json_file:
6
  urdu_data = json.load(json_file)
7
  # List of commands
8
  # commands = [