Added additional error handling to job related functionalities. (Formatted file in db_utils, which might cause a merge conflict, just override my file later)
This commit is contained in:
@@ -12,11 +12,11 @@ from swagger_server.util import get_random_filename, create_random_file_in_tmp_f
|
||||
import requests
|
||||
from werkzeug.utils import secure_filename
|
||||
|
||||
# ATEapi_endpoint = "http://localhost:5000/predict"
|
||||
|
||||
|
||||
ATEapi_endpoint = "http://ate-api:5000/predict"
|
||||
|
||||
# endpoint below to be used only for development purposes (don't need to run docker)
|
||||
# ATEapi_endpoint = "http://localhost:5000/predict"
|
||||
|
||||
|
||||
def do_izlusci(conllus, prepovedane_besede):
|
||||
tmp_file_path = ""
|
||||
|
||||
Reference in New Issue
Block a user