Spaces:
Runtime error
Runtime error
| 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" | |