(
version: str, input: dict[str, Any], api_token: str
)
| 133 | |
| 134 | |
| 135 | async def call_replicate_version( |
| 136 | version: str, input: dict[str, Any], api_token: str |
| 137 | ) -> Any: |
| 138 | return await _run_prediction( |
| 139 | f"{REPLICATE_API_BASE_URL}/predictions", |
| 140 | {"version": version, "input": input}, |
| 141 | api_token, |
| 142 | ) |
| 143 | |
| 144 | |
| 145 | async def remove_background(image_url: str, api_token: str) -> str: |
no test coverage detected