lets not use localhost on the server

This commit is contained in:
Kikimanox
2022-10-18 19:25:05 +02:00
parent f89b84dd31
commit 82718d71bb
@@ -12,10 +12,10 @@ from swagger_server.util import get_random_filename, create_random_file_in_tmp_f
import requests import requests
from werkzeug.utils import secure_filename from werkzeug.utils import secure_filename
ATEapi_endpoint = "http://localhost:5000/predict" # ATEapi_endpoint = "http://localhost:5000/predict"
# ATEapi_endpoint = "http://ate-api:5000/predict" ATEapi_endpoint = "http://ate-api:5000/predict"
def do_izlusci(conllus, prepovedane_besede): def do_izlusci(conllus, prepovedane_besede):