解决历史上下文中图片 url 过期问题
This commit is contained in:
@@ -147,7 +147,7 @@ async def edit_furniture(runtime: ToolRuntime, config: RunnableConfig, input_ima
|
||||
if len(input_image_paths):
|
||||
for i in range(len(input_image_paths)):
|
||||
bucket_name = "fida-public-bucket"
|
||||
object_name = f"furniture/sketches/{uuid.uuid4()}.png"
|
||||
object_name = f"furniture/sketches/{uuid.uuid4()}"
|
||||
image_url = await generate_or_edit_image(input_path=[input_image_paths[i]], prompt=prompts[i], bucket_name=bucket_name, object_name=f"{object_name}-{i}.png")
|
||||
result.append(image_url)
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user