deploykedua
This commit is contained in:
parent
bafffd661a
commit
31d452d843
3
app.py
3
app.py
|
|
@ -8,7 +8,8 @@ import uuid
|
||||||
import time
|
import time
|
||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
|
|
||||||
# Load environment variables from .env file
|
# Load environment variables from .env file only for local development.
|
||||||
|
if not os.environ.get('PORT') and not os.environ.get('RAILWAY_ENVIRONMENT') and not os.environ.get('RAILWAY_PROJECT_ID'):
|
||||||
load_dotenv()
|
load_dotenv()
|
||||||
|
|
||||||
from utils.helpers import load_model, estimate_prediction_confidence
|
from utils.helpers import load_model, estimate_prediction_confidence
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue