Update llm/llamacpp/lc_model.py
Browse files- llm/llamacpp/lc_model.py +4 -2
llm/llamacpp/lc_model.py
CHANGED
@@ -28,10 +28,12 @@ file_handler.setFormatter(formatted)
|
|
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):
|
|
|
28 |
logger.addHandler(file_handler)
|
29 |
|
30 |
try:
|
31 |
+
os.chdir('/home/user/app/llm/')
|
|
|
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 |
+
print("Current path after : ", os.getcwd())
|
37 |
|
38 |
|
39 |
class LC_TinyLlama(LCInterface, ABC):
|