mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-03-13 15:56:37 +00:00
Update lollms_tti.py
This commit is contained in:
parent
241e7e84e5
commit
158862458c
@ -147,9 +147,9 @@ async def set_active_ttv_settings(request: Request):
|
||||
"""
|
||||
|
||||
try:
|
||||
print("- Setting ttv settings")
|
||||
print("- Setting tti settings")
|
||||
|
||||
if lollmsElfServer.ttv is not None:
|
||||
if lollmsElfServer.tti is not None:
|
||||
if hasattr(lollmsElfServer.tti,"service_config"):
|
||||
lollmsElfServer.tti.service_config.update_template(settings)
|
||||
lollmsElfServer.tti.service_config.config.save_config()
|
||||
@ -162,4 +162,4 @@ async def set_active_ttv_settings(request: Request):
|
||||
except Exception as ex:
|
||||
trace_exception(ex)
|
||||
lollmsElfServer.error(ex)
|
||||
return {"status":False,"error":str(ex)}
|
||||
return {"status":False,"error":str(ex)}
|
||||
|
Loading…
x
Reference in New Issue
Block a user