mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Update to colab tweaks
This commit is contained in:
@@ -7696,9 +7696,10 @@ def UI_2_save_tweaks(data):
|
||||
# Load Tweaks
|
||||
#==================================================================#
|
||||
def UI_2_load_tweaks():
|
||||
if os.path.exists("./settings/tweaks.settings"):
|
||||
with open("./settings/tweaks.settings", "r") as f:
|
||||
socketio.emit('load_tweaks', f.read(), room="UI2")
|
||||
if koboldai_vars.on_colab:
|
||||
if os.path.exists("./settings/tweaks.settings"):
|
||||
with open("./settings/tweaks.settings", "r") as f:
|
||||
socketio.emit('load_tweaks', f.read(), room="UI2")
|
||||
|
||||
#==================================================================#
|
||||
# Test
|
||||
|
Reference in New Issue
Block a user