We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fefe2a commit 2659ef7Copy full SHA for 2659ef7
roboflow/models/classification.py
@@ -143,7 +143,9 @@ def __generate_url(self):
143
# Generates URL based on all parameters
144
splitted = self.id.rsplit("/")
145
without_workspace = splitted[1]
146
- version = self.version or splitted[2]
+ version = self.version
147
+ if not version and len(splitted) > 2:
148
+ version = splitted[2]
149
150
self.api_url = "".join(
151
[
0 commit comments