Remove legacy build args
This commit is contained in:
3
main.py
3
main.py
@@ -12,9 +12,6 @@ shutdown_requested = False
|
||||
def _config() -> dict:
|
||||
token = os.getenv("EXTERNAL_SERVICE_TOKEN", "")
|
||||
return {
|
||||
"task_type": os.getenv("TASK_TYPE", ""),
|
||||
"gpu_type": os.getenv("GPU_TYPE", ""),
|
||||
"framework": os.getenv("FRAMEWORK", ""),
|
||||
"external_service_token_present": bool(token),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user