fix: python -m 运行方式
This commit is contained in:
parent
1ff49a3c26
commit
6bab8d8499
|
|
@ -193,7 +193,8 @@ async fn execute_python_command(_app: tauri::AppHandle, args: &[String]) -> Resu
|
|||
#[tauri::command]
|
||||
pub async fn generate_ai_video(app: tauri::AppHandle, request: AIVideoRequest) -> Result<String, String> {
|
||||
let mut args = vec![
|
||||
"python_core/ai_video/video_generator.py".to_string(),
|
||||
"-m".to_string(),
|
||||
"python_core.ai_video.video_generator".to_string(),
|
||||
"--action".to_string(),
|
||||
"single".to_string(),
|
||||
"--image".to_string(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue