修改通用文件上传节点
This commit is contained in:
parent
64cb10c369
commit
bf0854a848
|
|
@ -37,7 +37,7 @@ image = (
|
|||
.run_commands("rm -rf /root/comfy/ComfyUI/input&&ln -s /models/input /root/comfy/ComfyUI/input")
|
||||
.run_commands("rm -rf /root/comfy/ComfyUI/output&&ln -s /models/output /root/comfy/ComfyUI/output")
|
||||
)
|
||||
app = modal.App(image=image, name='cf-video-api')
|
||||
app = modal.App(image=image, name='comfyui-video-agent')
|
||||
custom_secret = modal.Secret.from_name("comfyui-custom-secret", environment_name="dev")
|
||||
vol = modal.Volume.from_name("comfy_model", environment_name="dev", create_if_missing=True)
|
||||
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ def upload_file_gs(file_path: str):
|
|||
}
|
||||
|
||||
response = requests.post(
|
||||
'https://https://modal-prod.bowong.cc/api/file/upload/s3',
|
||||
'https://modal-prod.bowong.cc/api/file/upload/s3',
|
||||
headers=headers,
|
||||
files=files,
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue