add auth to speechToText container
This commit is contained in:
+1
-1
@@ -18,4 +18,4 @@ RUN pip3 install --upgrade pip
|
|||||||
RUN pip3 install -r requirements.txt
|
RUN pip3 install -r requirements.txt
|
||||||
COPY src src
|
COPY src src
|
||||||
COPY server.py server.py
|
COPY server.py server.py
|
||||||
CMD [ "python3","-u", "server.py", "--host=0.0.0.0"]
|
CMD [ "python3","-u", "server.py"]
|
||||||
@@ -9,8 +9,8 @@ api_key = "489274f04d5c155f81370fccc3904e20"
|
|||||||
api_secret = "edac41f0e1726ba49808dfb12204ecd6"
|
api_secret = "edac41f0e1726ba49808dfb12204ecd6"
|
||||||
mailjet = Client(auth=(api_key, api_secret), version='v3.1')
|
mailjet = Client(auth=(api_key, api_secret), version='v3.1')
|
||||||
from_email = "no-reply@lpaconsulting.fr"
|
from_email = "no-reply@lpaconsulting.fr"
|
||||||
store = "Hermès Paris Faubourg"
|
# store = "Hermès Paris Faubourg"
|
||||||
# store = "Hermès Paris George V"
|
store = "Hermès Paris George V"
|
||||||
# store = "Hermès Paris Sèvres"
|
# store = "Hermès Paris Sèvres"
|
||||||
# dest_email = "928490803@qq.com"
|
# dest_email = "928490803@qq.com"
|
||||||
# dest_email = "1757344572@qq.com"
|
# dest_email = "1757344572@qq.com"
|
||||||
@@ -19,13 +19,13 @@ store = "Hermès Paris Faubourg"
|
|||||||
# dest_email = "fanfan19810617@icloud.com"
|
# dest_email = "fanfan19810617@icloud.com"
|
||||||
# dest_email = "fanchunying323@163.com"
|
# dest_email = "fanchunying323@163.com"
|
||||||
# dest_email = "lytlaure@gmail.com"
|
# dest_email = "lytlaure@gmail.com"
|
||||||
# dest_email = "panleicim@gmail.com"
|
dest_email = "arianezhangsn@yahoo.com"
|
||||||
# dest_email = "sunrose75015@gmail.com"
|
# dest_email = "sunrose75015@gmail.com"
|
||||||
dest_email = "1340219934@qq.com"
|
# dest_email = "1340219934@qq.com"
|
||||||
# dest_email = "lytlaure@gmail.com"
|
# dest_email = "lytlaure@gmail.com"
|
||||||
# dest_email = "m13805869912@163.com"
|
# dest_email = "m13805869912@163.com"
|
||||||
# dest_email = "tangliang0411@gmail.com"
|
# dest_email = "tangliang0411@gmail.com"
|
||||||
contact_name = "DU Peijian"
|
contact_name = "LU yaping"
|
||||||
|
|
||||||
f = open(config.ROOT_DIR + "/templates/confirmed_rdv.html", "r")
|
f = open(config.ROOT_DIR + "/templates/confirmed_rdv.html", "r")
|
||||||
email_body = f.read()
|
email_body = f.read()
|
||||||
|
|||||||
Reference in New Issue
Block a user