Bildad commited on
Commit
a567460
1 Parent(s): 7320e78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from transformers import pipeline
3
  import json
4
 
5
  # Load the phrase mapping from the JSON file
6
- with open('phrase_mapping.json', 'r') as f:
7
  phrase_mapping = json.load(f)
8
 
9
  # Define the UnifiedTranslator class
 
3
  import json
4
 
5
  # Load the phrase mapping from the JSON file
6
+ with open('phrase_mappings.json', 'r') as f:
7
  phrase_mapping = json.load(f)
8
 
9
  # Define the UnifiedTranslator class