always send event for now

This commit is contained in:
Brandon Thomas committed 2025-03-04 19:43:30 -05:00
1 parent f783910c0a
commit 68b0acf8ed
1 file changed
+4 -2
@@ -132,7 +132,8 @@ pub fn stable_diffusion_pipeline(args: Args<'_>) -> Result<RgbImage> {
println!("Building VAE model from file {:?}...", &vae_file);
let mut notify_download_complete = false;
if !vae_file.exists() {
//if !vae_file.exists() {
if true {
notify_download_complete = true;
app.emit("notification", NotificationEvent::ModelDownloadStarted {
model_name: repo,
@@ -175,7 +176,8 @@ pub fn stable_diffusion_pipeline(args: Args<'_>) -> Result<RgbImage> {
.map_err(|err| anyhow!("error fetching model: {:?}", err))?;
let mut notify_download_complete = false;
if !unet_file.exists() {
//if !unet_file.exists() {
if true {
notify_download_complete = true;
app.emit("notification", NotificationEvent::ModelDownloadStarted {
model_name: repo,