diff --git a/src/src/main.rs b/src/src/main.rs index 4d7b0f6..eb68f2a 100644 --- a/src/src/main.rs +++ b/src/src/main.rs @@ -8,9 +8,7 @@ use core::cmp::Ordering; use std::str::FromStr; fn main() { - // launch the dioxus app in a webview - dioxus_desktop::launch(App); // TODO desktop - //dioxus_web::launch(App); + dioxus_desktop::launch(App); } // define a component that renders a div with the text "Hello, world!" @@ -152,8 +150,7 @@ struct Analyzed { } async fn analyze(file: String) -> Analysis { - let content_spans = lib::video::inspect_async(&file).await; // TODO desktop - //let content_spans: Result, String> = Ok(vec![lib::video::ContentSpan{start: 0.5, stop: 20.2}]); + let content_spans = lib::video::inspect_async(&file).await; if content_spans.is_err() { return Analysis{ result: vec![],