mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-19 12:27:52 +00:00
10 lines
364 B
Python
10 lines
364 B
Python
# File : extension.py
|
|
# Author : ParisNeo
|
|
# Description :
|
|
# This is the main class to be imported by the extension
|
|
# it gives your code access to the model, the callback functions, the model conditionning etc
|
|
from config import load_config, save_config
|
|
|
|
class Extension():
|
|
def __init__(self, metadata_file_path:str) -> None:
|
|
self.config = load_config() |