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 2f4c88b commit 8c1903eCopy full SHA for 8c1903e
roboflow/core/version.py
@@ -97,7 +97,7 @@ def __init__(
97
response = requests.get(f"{API_URL}/{workspace}/{project}/{self.version}?api_key={self.__api_key}")
98
if response.ok:
99
version_info = response.json()["version"]
100
- has_model = bool(version_info.get("models"))
+ has_model = bool(version_info.get("train", {}).get("model"))
101
else:
102
has_model = False
103
0 commit comments