From 32bcb59cb907eae889ba16c640bf9bd9a293e28f Mon Sep 17 00:00:00 2001 From: Dooy Date: Tue, 17 Dec 2024 09:22:13 +0800 Subject: [PATCH] 2.22.7 --- changlog.md | 7 ++++++- package.json | 2 +- src-tauri/tauri.conf.json | 2 +- src/views/suno/mcInput.vue | 10 +++++++--- 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/changlog.md b/changlog.md index e742f4943c..27bb8b94a9 100644 --- a/changlog.md +++ b/changlog.md @@ -1,9 +1,14 @@ # 功能升级日志 # 计划 + +# 2.22.7 +- 😄 修改:suno upload 二次创作方式 + # 2.22.6 -- 😄 支持:pika 2.0 - 😄 支持:viggle V3-Beta +- 😄 支持:pika 2.0 +- 😄 新增:pika 3个效果 # 2.22.5 - 🐞 修改:suno默认版本为V4 diff --git a/package.json b/package.json index d93a95fe5c..e491035ea0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "chatgpt-web-midjourney-proxy", - "version": "2.22.6", + "version": "2.22.7", "private": false, "description": "ChatGPT Web Midjourney Proxy", "author": "Dooy ", diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 515c6d7f38..dc0f3d21a6 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -8,7 +8,7 @@ }, "package": { "productName": "ChatGPT-MJ", - "version": "2.22.6" + "version": "2.22.7" }, "tauri": { "allowlist": { diff --git a/src/views/suno/mcInput.vue b/src/views/suno/mcInput.vue index da42e8980d..8696c11e6b 100644 --- a/src/views/suno/mcInput.vue +++ b/src/views/suno/mcInput.vue @@ -23,7 +23,8 @@ const cs= ref({ "title": "", "tags": "", "continue_at": 120, - "continue_clip_id": "" + "continue_clip_id": "", + "task":'' }); @@ -90,9 +91,11 @@ const generate= async ()=>{ if(st.value.type=='custom'){ if(des.value.make_instrumental) cs.value.prompt=''; - if( cs.value.continue_clip_id!='' && exSuno.value?.metadata?.type=='upload' ){ + if( cs.value.continue_clip_id!='' ){ //chirp-v3-5-upload - cs.value.mv='chirp-v3-5-upload' + // cs.value.mv='chirp-v3-5-upload' + if( exSuno.value?.metadata?.type=='upload') cs.value.task='upload_extend' + else cs.value.task='extend' } let r:any= await sunoFetch( '/generate' , cs.value ) st.value.isLoading =false; @@ -106,6 +109,7 @@ const generate= async ()=>{ st.value.isLoading =false; ids=r.clips.map((r:any)=>r.id); } + cs.value.task=''; FeedTask(ids) }