Quick tweak
This commit is contained in:
parent
0027cf7c59
commit
f3d22219b4
@ -359,7 +359,6 @@ class AlpacaWindow(Adw.ApplicationWindow):
|
|||||||
self.verify_if_image_can_be_used()
|
self.verify_if_image_can_be_used()
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
print("huh 2")
|
|
||||||
self.connection_error()
|
self.connection_error()
|
||||||
|
|
||||||
def verify_connection(self):
|
def verify_connection(self):
|
||||||
@ -603,7 +602,6 @@ class AlpacaWindow(Adw.ApplicationWindow):
|
|||||||
self.available_model_list_box.append(model)
|
self.available_model_list_box.append(model)
|
||||||
|
|
||||||
def save_history(self):
|
def save_history(self):
|
||||||
print("Saving...")
|
|
||||||
with open(os.path.join(self.config_dir, "chats.json"), "w+") as f:
|
with open(os.path.join(self.config_dir, "chats.json"), "w+") as f:
|
||||||
json.dump(self.chats, f, indent=4)
|
json.dump(self.chats, f, indent=4)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user