mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-18 20:17:50 +00:00
Working
This commit is contained in:
parent
f0d736abff
commit
0b48b3ad72
4
.gitignore
vendored
4
.gitignore
vendored
@ -175,4 +175,6 @@ outputs
|
||||
./src
|
||||
|
||||
# ignore installation files
|
||||
.installed
|
||||
.installed
|
||||
|
||||
test.http
|
6
app.py
6
app.py
@ -252,9 +252,9 @@ class Gpt4AllWebUI(GPT4AllAPI):
|
||||
with open(config_path) as config_file:
|
||||
config_data = yaml.load(config_file, Loader=yaml.FullLoader)
|
||||
personality_info['name'] = personality_folder.name
|
||||
personality_info['description'] = config_data['personality_description']
|
||||
personality_info['author'] = 'ParisNeo'#config_data['creator']
|
||||
personality_info['version'] = config_data['version']
|
||||
personality_info['description'] = config_data.get('personality_description',"")
|
||||
personality_info['author'] = config_data.get('creator', 'ParisNeo')
|
||||
personality_info['version'] = config_data.get('version', '1.0.0')
|
||||
scripts_path = personality_folder / 'scripts'
|
||||
personality_info['has_scripts'] = scripts_path.is_dir()
|
||||
assets_path = personality_folder / 'assets'
|
||||
|
Loading…
Reference in New Issue
Block a user