From 69f24b2514073b545647900f373bb7a5a99d4951 Mon Sep 17 00:00:00 2001 From: Joseph Barker Date: Tue, 19 Nov 2024 13:31:46 -0800 Subject: [PATCH] Fix compile error --- launcher/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher/src/main.rs b/launcher/src/main.rs index 9add88a7b..0e7a63e47 100644 --- a/launcher/src/main.rs +++ b/launcher/src/main.rs @@ -1148,7 +1148,7 @@ fn download_convert_model( envs.push(("HUGGING_FACE_HUB_TOKEN".into(), api_token.into())) }; - if let Ok(predibase_api_token) = &args.predibase_api_token { + if let Some(predibase_api_token) = &args.predibase_api_token { envs.push(( "PREDIBASE_API_TOKEN".into(), predibase_api_token.to_string().into(),