Spaces:
Runtime error
Runtime error
zetavg
commited on
Commit
•
98f12d5
1
Parent(s):
8b0ae10
fix while imported with a different package name
Browse files
llama_lora/dynamic_import.py
CHANGED
@@ -2,4 +2,4 @@ import importlib
|
|
2 |
|
3 |
|
4 |
def dynamic_import(module):
|
5 |
-
return importlib.import_module(module, package=
|
|
|
2 |
|
3 |
|
4 |
def dynamic_import(module):
|
5 |
+
return importlib.import_module(module, package=__package__)
|