updated
This commit is contained in:
@@ -36,8 +36,7 @@ end
|
||||
|
||||
local function playTTSFile(speakers, value)
|
||||
local message = textutils.urlEncode(value)
|
||||
local voice = "&voice=en-gb-scotland"
|
||||
local url = "http://api.astrocore.space/TextToSpeech?message=" .. message
|
||||
local url = "http://api.astrocore.space/api/TextToSpeech?message=" .. message
|
||||
local response, err = http.get { url = url, binary = true }
|
||||
if not response then error(err, 0) end
|
||||
while true do
|
||||
|
||||
Reference in New Issue
Block a user