drop todos since web so far gone
parent
5bd118704d
commit
a8ba8fc97d
|
|
@ -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<Vec<lib::video::ContentSpan>, 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![],
|
||||
|
|
|
|||
Loading…
Reference in New Issue