Config changed for api url
This commit is contained in:
parent
005372497c
commit
80a7557467
@ -36,7 +36,7 @@ class SoundSender(AbcSender):
|
||||
"application/json")
|
||||
}
|
||||
|
||||
r = requests.post(config.INPUT_SVC_URL, files=files)
|
||||
r = requests.post(config.API_URL + "/sample", files=files)
|
||||
logging.info("Content: ", r.content)
|
||||
logging.info("Headers:", r.headers)
|
||||
r.raise_for_status()
|
||||
|
@ -22,4 +22,4 @@ TICK_INTERVAL = int(os.environ.get("TICK_INTERVAL", "3"))
|
||||
TARGET_NAME = os.environ.get("TARGET_CLASS_NAME")
|
||||
MODEL_ID = os.environ.get("MODEL_ID")
|
||||
|
||||
INPUT_SVC_URL = os.environ.get("INPUT_SVC_URL", "http://localhost:8080/sample")
|
||||
API_URL = os.environ.get("API_URL", "http://localhost:8080")
|
Loading…
Reference in New Issue
Block a user