File size: 392 Bytes
f725085
 
 
 
 
 
 
 
 
 
bb7b895
 
1
2
3
4
5
6
7
8
9
10
11
12
13
import os

ENV = os.getenv("API_ENV", "space")
MODEL_NAME = os.getenv("MODEL_NAME", "EfficientNetV2M")
MODEL_TYPE =os.getenv("MODEL_TYPE", "CNN")

if ENV == "local":
    ORCHESTRATOR_URL = "http://0.0.0.0:7860"
    OWN_URL = "http://0.0.0.0:7861"
else:
    ORCHESTRATOR_URL = "https://reco-team-reco-orchestrator-api.hf.space"
    OWN_URL = "https://reco-team-reco-efficientnet-api.hf.space"