matrix-spam-ml

git clone git://archive.git.mtrnord.blog/MTRNord/matrix-spam-ml.git
Log | Files | Refs | Submodules | README | LICENSE

commit ff58efb39835caea8c9f63529ad83a0f0603c291
parent 9673c203424cfc80a0a455f6e618447ab0e4f477
Author: MTRNord <mtrnord1@gmail.com>
Date:   Tue,  6 Dec 2022 15:17:15 +0100

Apply clippy suggestion

Diffstat:
Mcrates/model_server/src/main.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crates/model_server/src/main.rs b/crates/model_server/src/main.rs @@ -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();