chore: dalle2

This commit is contained in:
lencx
2023-01-06 23:48:53 +08:00
parent de5533d942
commit a3b40f7f40
10 changed files with 50 additions and 13 deletions

View File

@@ -246,7 +246,8 @@ pub async fn sync_prompts(app: AppHandle, time: u64) -> Option<Vec<ModelRecord>>
"Sync Prompts",
"ChatGPT Prompts data has been synchronized!",
);
window_reload(app, "core");
window_reload(app.clone(), "core");
window_reload(app, "tray");
return Some(data2);
}