Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Commit ffdec55

Browse files
authored
Update __init__.py
1 parent a3aec23 commit ffdec55

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

opengpt/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ def Print(context: Text, warn: Optional[bool] = False) -> None:
2020
class OpenGPT:
2121
@classmethod
2222
def __init__(self: type, provider: Text, type: Optional[Text] = "completion", options: Optional[Union[Dict[Text, Text], None]] = None) -> None:
23+
24+
self.__DIR: Text = os.getcwd()
2325
self.__LoadModels()
24-
self.__DIR: Text = os.getcwd()
2526
self.__TYPE: Text = type
2627
self.__OPTIONS: Union[Dict[Text, Text], None] = options
2728
self.__PROVIDER: Text = provider

0 commit comments

Comments
 (0)