Skip to content

Commit

Permalink
fixed requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
Sydrimon committed Nov 8, 2017
1 parent 13d626b commit f18de7c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions python-test.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import os
import pyttsx
import pyttsx3
import requests
from flask import Flask
from flask import jsonify
Expand Down Expand Up @@ -37,7 +37,7 @@ def __init__(self, speed=60):
self.speed = speed

def speak(self, text):
engine = pyttsx.init()
engine = pyttsx3.init()
engine.setProperty('voice', 'german')
engine.setProperty('rate', engine.getProperty('rate') - self.speed)
engine.say(text)
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
requests==2.18.4
pygame==1.9.3
pyttsx3==2.6
Flask==0.12.2
pyttsx==1.1
pygame==1.9.3

0 comments on commit f18de7c

Please sign in to comment.