Mayada commited on
Commit
5f85a7e
1 Parent(s): d15319f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ inference_transforms = transforms.Compose([
24
  ])
25
 
26
  # Load the dictionary
27
- with open("Mayada/AIC-transformer-2023/DICTIONARY (3).txt", "r", encoding="utf-8") as file:
28
  dictionary = dict(line.strip().split("\t") for line in file)
29
 
30
  # Function to correct words in the caption using the dictionary
 
24
  ])
25
 
26
  # Load the dictionary
27
+ with open("DICTIONARY (3).txt", "r", encoding="utf-8") as file:
28
  dictionary = dict(line.strip().split("\t") for line in file)
29
 
30
  # Function to correct words in the caption using the dictionary