Model fix.
This commit is contained in:
parent
9a9a9aaf33
commit
96d34ebf55
2 changed files with 3 additions and 3 deletions
|
|
@ -24,7 +24,7 @@ def save_image(file, model: str) -> str:
|
|||
@image_bp.route("/api/images", methods=["POST"])
|
||||
def upload_image():
|
||||
file = request.files.get("file")
|
||||
model = request.form.get("model")
|
||||
model = request.form.get("target_model")
|
||||
model_id = request.form.get("model_id")
|
||||
caption = request.form.get("caption", "")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue