Skip to content

Commit fc2ae30

Browse files
committed
feat: add replicate.use()
1 parent 0d1be44 commit fc2ae30

File tree

3 files changed

+790
-3
lines changed

3 files changed

+790
-3
lines changed

src/replicate/_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import httpx
1010

1111
from replicate.lib._files import FileEncodingStrategy
12-
from replicate.lib._predictions import Model, Version, ModelVersionIdentifier
12+
from replicate.lib._predictions_run import Model, Version, ModelVersionIdentifier
1313
from replicate.types.prediction_create_params import PredictionCreateParamsWithoutVersion
1414

1515
from . import _exceptions
@@ -236,7 +236,7 @@ def run(
236236
ValueError: If the reference format is invalid
237237
TypeError: If both wait and prefer parameters are provided
238238
"""
239-
from .lib._predictions import run
239+
from .lib._predictions_run import run
240240

241241
return run(
242242
self,
@@ -510,7 +510,7 @@ async def run(
510510
ValueError: If the reference format is invalid
511511
TypeError: If both wait and prefer parameters are provided
512512
"""
513-
from .lib._predictions import async_run
513+
from .lib._predictions_run import async_run
514514

515515
return await async_run(
516516
self,
File renamed without changes.

0 commit comments

Comments
 (0)