Skip to content

Commit

Permalink
[Fix] signature sightengine
Browse files Browse the repository at this point in the history
  • Loading branch information
Daggx committed Dec 16, 2024
1 parent a4052a3 commit 141ceb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions edenai_apis/apis/sightengine/sightengine_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(self, api_keys: Optional[Dict[str, Any]] = None):
self.webhook_url = f"https://webhook.site/{self.webhook_token}"

def image__deepfake_detection(
self, file: Optional[str] = None, file_url: Optional[str] = None
self, file: str, file_url: str = ""
) -> ResponseType[ImageDeepfakeDetectionDataclass]:
if not file_url and not file:
raise ProviderException("file or file_url required")
Expand Down Expand Up @@ -94,7 +94,7 @@ def image__deepfake_detection(
)

def video__deepfake_detection_async__launch_job(
self, file: Optional[str] = None, file_url: Optional[str] = None
self, file: str, file_url: str = ""
) -> AsyncLaunchJobResponseType:
if not file_url and not file:
raise ProviderException("file or file_url required")
Expand Down

0 comments on commit 141ceb4

Please sign in to comment.