I have made some changes but this code fails with the automatic download. Sometimes when I deploy the code to the cloud I have a white screen and there is no app.
CloudDeploy[
FormFunction[{"x" ->
Interpreter[Restricted["UploadedFile", "Image"]]},
ImageGraphics@Import[#x] &, "PNG"],
FileNameJoin[{$CloudRootDirectory, "vector image.svg"}],
Permissions -> "Public"]