Removing gtts-token

This commit is contained in:
ein 2020-12-29 22:01:43 -08:00
parent 7ecf81e39f
commit bf4451ced2
3 changed files with 3 additions and 10 deletions

View File

@ -3,11 +3,5 @@ RUN apt-get update && apt-get install -y gcc make automake
# RUN apk update && apk add --no-cache make python3-dev automake gcc libxml2-dev libxslt-dev g++ # RUN apk update && apk add --no-cache make python3-dev automake gcc libxml2-dev libxslt-dev g++
ADD app/requirements.txt /requirements.txt ADD app/requirements.txt /requirements.txt
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
# RUN pip install pylint
# ADD app /app
# RUN printf "\n\nTesting your python code for errors\n\n" && \
# pylint -E /app/*.py
WORKDIR /app WORKDIR /app
# RUN printf "\n#########################\n Run dragon bot by typing \n python bot.py\n#########################\n\n"
# CMD python /app/bot.py

View File

@ -1,7 +1,6 @@
beautifulsoup4 beautifulsoup4
discord.py discord.py
gTTS gTTS
gTTS-token
lxml lxml
pandas pandas
requests requests

View File

@ -1,5 +1,4 @@
from gtts import gTTS from gtts import gTTS, lang
from gtts import lang
def text_to_speech(input): def text_to_speech(input):
""" """
@ -38,3 +37,4 @@ def get_all_langs():
blob += "{}: {}\n".format(key, value) blob += "{}: {}\n".format(key, value)
return "```css\n{}```".format(blob) return "```css\n{}```".format(blob)