drop todos since web so far gone
parent
5bd118704d
commit
a8ba8fc97d
|
|
@ -8,9 +8,7 @@ use core::cmp::Ordering;
|
||||||
use std::str::FromStr;
|
use std::str::FromStr;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
// launch the dioxus app in a webview
|
dioxus_desktop::launch(App);
|
||||||
dioxus_desktop::launch(App); // TODO desktop
|
|
||||||
//dioxus_web::launch(App);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// define a component that renders a div with the text "Hello, world!"
|
// define a component that renders a div with the text "Hello, world!"
|
||||||
|
|
@ -152,8 +150,7 @@ struct Analyzed {
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn analyze(file: String) -> Analysis {
|
async fn analyze(file: String) -> Analysis {
|
||||||
let content_spans = lib::video::inspect_async(&file).await; // TODO desktop
|
let content_spans = lib::video::inspect_async(&file).await;
|
||||||
//let content_spans: Result<Vec<lib::video::ContentSpan>, String> = Ok(vec![lib::video::ContentSpan{start: 0.5, stop: 20.2}]);
|
|
||||||
if content_spans.is_err() {
|
if content_spans.is_err() {
|
||||||
return Analysis{
|
return Analysis{
|
||||||
result: vec![],
|
result: vec![],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue