Mayada commited on
Commit
c2af8b5
·
verified ·
1 Parent(s): 9e5ebfb

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("/content/drive/MyDrive/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("Mayada/AIC-transformer/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