Apply clippy suggestion
This commit is contained in:
parent
9673c20342
commit
ff58efb398
|
@ -31,7 +31,7 @@ async fn main() -> Result<()> {
|
|||
|
||||
let mut graph = Graph::new();
|
||||
let bundle =
|
||||
SavedModelBundle::load(&SessionOptions::new(), &["serve"], &mut graph, model_path)?;
|
||||
SavedModelBundle::load(&SessionOptions::new(), ["serve"], &mut graph, model_path)?;
|
||||
GRAPH.set(graph).unwrap();
|
||||
MODEL.set(bundle).unwrap();
|
||||
|
||||
|
|
Loading…
Reference in New Issue