Skip to content
This repository was archived by the owner on Apr 13, 2020. It is now read-only.
This repository was archived by the owner on Apr 13, 2020. It is now read-only.

error #4

@SUYONGJIAN

Description

@SUYONGJIAN

calling the background removal API...
Traceback (most recent call last):
File ".\bgremove.py", line 23, in
main()
File ".\bgremove.py", line 12, in main
new_image = background_removal.predict(image_file=open(image_path, 'rb'), format=format)
File "C:\Python35\lib\site-packages\firefly\client.py", line 100, in wrapped
return client.call_func(func_name, **kwargs)
File "C:\Python35\lib\site-packages\firefly\client.py", line 17, in call_func
return self.request(path, **kwargs)
File "C:\Python35\lib\site-packages\firefly\client.py", line 30, in request
return self.handle_response(response)
File "C:\Python35\lib\site-packages\firefly\client.py", line 83, in handle_response
raise ValidationError(response.json()["error"])
firefly.validator.ValidationError: missing a required argument: 'image'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions