Skip to content

Commit bf6edd7

Browse files
committed
Use print instead of logging
1 parent 586ab1b commit bf6edd7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

replicate/use.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# - [ ] Support file streaming
44
import copy
55
import hashlib
6-
import logging
76
import os
87
import tempfile
98
from functools import cached_property
@@ -214,7 +213,7 @@ def _resolve_ref(obj: Any) -> Any:
214213
def _log_prediction_url(id: str) -> None:
215214
if os.environ.get("R8_LOG_PREDICTION_URL") != "1":
216215
return
217-
logging.info("Running prediction https://replicate.com/p/%s", id)
216+
print("Running prediction https://replicate.com/p/%s", id)
218217

219218

220219
T = TypeVar("T")

0 commit comments

Comments
 (0)