Skip to content

Commit

Permalink
gwelliannau/cywiriadau bach. Minor improvements/corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
DewiBrynJones committed Oct 28, 2020
1 parent 4901e0d commit c1f5614
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions server/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ build:
run:
docker run --name marytts-server-${MARYTTS_CY_VERSION} --restart=always \
-d -p 52010:59125 \
-p 5301:8008 \
-v ${PWD}/log:/var/log/marytts-server \
-v ${PWD}/../voices/:/voices \
techiaith/marytts-server:${MARYTTS_CY_VERSION}
Expand Down
2 changes: 1 addition & 1 deletion server/cherrypy/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CherryPy==3.6.0
gunicorn==19.5.0
aiohttp==0.12.0
psutil==5.6.6
psutil==5.6.6
3 changes: 2 additions & 1 deletion server/cherrypy/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

import http.client
import urllib
import urllib.parse

class MaryTTSAPI(object):

Expand Down Expand Up @@ -147,7 +148,7 @@ def exec_marytts_generate(self, voice, lang, text):
}

cherrypy.log("marytts request: %s " % raw_params)
params = urllib.urlencode(raw_params)
params = urllib.parse.urlencode(raw_params)
headers = {}

# Open connection to self.host, self.port.
Expand Down

0 comments on commit c1f5614

Please sign in to comment.