Skip to content

Commit eb4f7c5

Browse files
committed
ruff
1 parent 555747f commit eb4f7c5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

roboflow/util/model_processor.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,7 @@ def _process_yolonas(model_type: str, model_path: str, filename: str = "weights/
252252
import torch
253253
except ImportError:
254254
raise RuntimeError(
255-
"The torch python package is required to deploy yolonas models."
256-
" Please install it with `pip install torch`"
255+
"The torch python package is required to deploy yolonas models. Please install it with `pip install torch`"
257256
)
258257

259258
model = torch.load(os.path.join(model_path, filename), map_location="cpu")

0 commit comments

Comments
 (0)