CineAI commited on
Commit
18809b9
1 Parent(s): ccc21ac

Update llm/llamacpp/lc_model.py

Browse files
Files changed (1) hide show
  1. llm/llamacpp/lc_model.py +3 -4
llm/llamacpp/lc_model.py CHANGED
@@ -28,11 +28,10 @@ file_handler.setFormatter(formatted)
28
  logger.addHandler(file_handler)
29
 
30
  try:
31
- os.chdir('..')
 
32
  except FileNotFoundError:
33
- print("Error: Could not move up. You might be at the root directory.")
34
-
35
- print("Current path after : ", os.path.dirname(os.path.realpath(__file__)))
36
 
37
 
38
  class LC_TinyLlama(LCInterface, ABC):
 
28
  logger.addHandler(file_handler)
29
 
30
  try:
31
+ os.chdir('..')
32
+ print("Current path after : ", os.path.dirname(os.path.realpath(__file__)))
33
  except FileNotFoundError:
34
+ print("Error: Could not move up. You might be at the root directory.")
 
 
35
 
36
 
37
  class LC_TinyLlama(LCInterface, ABC):