upgrade to dioxus 0.7.1
Build dioxus container / BuildContainer (push) Successful in 3m10s

This commit is contained in:
2025-11-27 17:31:55 -07:00
parent 128791bccd
commit 40bb8e18ef
7 changed files with 743 additions and 1044 deletions
+2 -1
View File
@@ -2,6 +2,7 @@ use crossbeam::atomic::AtomicCell;
use df::tract::{mut_slice_as_arrayviewmut, slice_as_arrayview};
use df::tract::{DfParams, DfTract, RuntimeParams};
use dioxus::prelude::{asset, manganis, Asset};
use dioxus_asset_resolver::read_asset_bytes;
use std::cell::RefCell;
use std::sync::Arc;
use tracing::{error, info};
@@ -32,7 +33,7 @@ fn with_denoising_model<O>(
let cell_task = cell.clone();
*state = DenoisingModelState::Downloading(cell);
spawn.spawn(async move {
let model_bytes = match imp::read_asset_bytes(&DF_MODEL).await {
let model_bytes = match read_asset_bytes(&DF_MODEL).await {
Ok(b) => b,
Err(e) => {
error!("could not read denoising model from \"{DF_MODEL}\": {e:?}");