Create docker-compose for ui and ai

This commit is contained in:
oc013
2022-08-24 09:51:56 -04:00
parent 891489e959
commit 0ccfa3dba9
6 changed files with 49 additions and 2 deletions

View File

@ -4,7 +4,7 @@ from pydantic import BaseModel
import requests
LOCAL_SERVER_URL = 'http://localhost:5000'
LOCAL_SERVER_URL = 'http://stability-ai:5000'
PREDICT_URL = LOCAL_SERVER_URL + '/predictions'
app = FastAPI()