vietlethe commited on
Commit
6811674
1 Parent(s): 33e8e23

add more logs

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,11 +15,11 @@ annotator = errant.load('en', nlp)
15
  errant_path = os.path.join(os.path.dirname("./"), 'errant_verbose.json')
16
  errant_verbose = json.load(open(errant_path, "r"))
17
  sent_detector = nltk.data.load('./nltk_data/tokenizers/punkt/english.pickle')
18
-
19
  # Load text editor (TinyLlama)
20
  text_editor = Llama(
21
  model_path="./texteditor-model/coedit-tinyllama-chat-bnb-4bit-unsloth.Q4_K_M.gguf",
22
- verbose=False
23
  )
24
  print("text editor is loaded!")
25
 
 
15
  errant_path = os.path.join(os.path.dirname("./"), 'errant_verbose.json')
16
  errant_verbose = json.load(open(errant_path, "r"))
17
  sent_detector = nltk.data.load('./nltk_data/tokenizers/punkt/english.pickle')
18
+ print("Loading models ...")
19
  # Load text editor (TinyLlama)
20
  text_editor = Llama(
21
  model_path="./texteditor-model/coedit-tinyllama-chat-bnb-4bit-unsloth.Q4_K_M.gguf",
22
+ verbose=True
23
  )
24
  print("text editor is loaded!")
25