delete some code

This commit is contained in:
jhqxxx
2026-03-30 20:36:57 +08:00
parent ccbe799b90
commit 363833d8fb
14 changed files with 19 additions and 142 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ impl DeepseekOCRGenerateModel {
let device = &get_device(device);
let dtype = get_dtype(dtype, &cfg_dtype);
let model_name = std::path::Path::new(path)
.file_name()
.file_name()
.and_then(|s| s.to_str())
.unwrap_or("deepseek-ocr")
.to_string();