Skip to content

Commit

Permalink
Fixed formatting, some other simplifications
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbitbus committed Jun 6, 2024
1 parent d8b7b9e commit 2a48213
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions roboflow/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ def get_conditional_configuration_variable(key, default):
RF_WORKSPACES = get_conditional_configuration_variable("workspaces", default={})
TQDM_DISABLE = os.getenv("TQDM_DISABLE", None)


def load_roboflow_api_key(workspace_url=None):
if os.getenv("ROBOFLOW_API_KEY") is not None:
return os.getenv("ROBOFLOW_API_KEY")
Expand Down
3 changes: 2 additions & 1 deletion roboflow/core/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,18 @@
import yaml
from dotenv import load_dotenv
from tqdm import tqdm

from roboflow.config import (
API_URL,
APP_URL,
DEMO_KEYS,
TQDM_DISABLE,
TYPE_CLASSICATION,
TYPE_INSTANCE_SEGMENTATION,
TYPE_KEYPOINT_DETECTION,
TYPE_OBJECT_DETECTION,
TYPE_SEMANTIC_SEGMENTATION,
UNIVERSE_URL,
TQDM_DISABLE
)
from roboflow.core.dataset import Dataset
from roboflow.models.classification import ClassificationModel
Expand Down

0 comments on commit 2a48213

Please sign in to comment.