abhinavsarkar commited on
Commit
ad4243a
·
verified ·
1 Parent(s): 31eda7b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ tokenizer, model, torch_device = load_grammar_model()
31
  # Load vocabulary for spell checking (optimized loading)
32
  @st.cache_resource
33
  def load_vocabulary():
34
- file_paths = ['Vocabulary/book.txt', 'Vocabulary/alice_in_wonderland.txt', 'Vocabulary/big.txt', 'Vocabulary/shakespeare.txt']
35
  words = []
36
  for file_path in file_paths:
37
  with open(file_path, 'r') as f:
 
31
  # Load vocabulary for spell checking (optimized loading)
32
  @st.cache_resource
33
  def load_vocabulary():
34
+ file_paths = ['book.txt', 'alice_in_wonderland.txt', 'big.txt', 'shakespeare.txt']
35
  words = []
36
  for file_path in file_paths:
37
  with open(file_path, 'r') as f: