diff --git a/.gcloudignore b/.gcloudignore new file mode 100644 index 0000000..a987f11 --- /dev/null +++ b/.gcloudignore @@ -0,0 +1,19 @@ +# This file specifies files that are *not* uploaded to Google Cloud Platform +# using gcloud. It follows the same syntax as .gitignore, with the addition of +# "#!include" directives (which insert the entries of the given .gitignore-style +# file at that point). +# +# For more information, run: +# $ gcloud topic gcloudignore +# +.gcloudignore +# If you would like to upload your .git directory, .gitignore file or files +# from your .gitignore file, remove the corresponding line +# below: +.git +.gitignore + +# Python pycache: +__pycache__/ +# Ignored by the build system +/setup.cfg \ No newline at end of file diff --git a/__pycache__/generator.cpython-35.pyc b/__pycache__/generator.cpython-35.pyc new file mode 100644 index 0000000..985921c Binary files /dev/null and b/__pycache__/generator.cpython-35.pyc differ diff --git a/__pycache__/utils.cpython-35.pyc b/__pycache__/utils.cpython-35.pyc new file mode 100644 index 0000000..836c343 Binary files /dev/null and b/__pycache__/utils.cpython-35.pyc differ diff --git a/app.yaml b/app.yaml index 2449010..06bd33e 100644 --- a/app.yaml +++ b/app.yaml @@ -1,9 +1,7 @@ runtime: python37 instance_class: F4_1G -entrypoint: gunicorn -b :$PORT main:app -env: flex -threadsafe: yes +entrypoint: gunicorn -t 120 -b :$PORT main:app handlers: # This configures Google App Engine to serve the files in the app's static diff --git a/gpt2/__init__.pyc b/gpt2/__init__.pyc new file mode 100644 index 0000000..cc3c924 Binary files /dev/null and b/gpt2/__init__.pyc differ diff --git a/gpt2/src/__init__.pyc b/gpt2/src/__init__.pyc new file mode 100644 index 0000000..de96e09 Binary files /dev/null and b/gpt2/src/__init__.pyc differ diff --git a/gpt2/src/__pycache__/__init__.cpython-35.pyc b/gpt2/src/__pycache__/__init__.cpython-35.pyc new file mode 100644 index 0000000..2c7cfad Binary files /dev/null and b/gpt2/src/__pycache__/__init__.cpython-35.pyc differ diff --git a/gpt2/src/__pycache__/encoder.cpython-35.pyc b/gpt2/src/__pycache__/encoder.cpython-35.pyc new file mode 100644 index 0000000..129e22e Binary files /dev/null and b/gpt2/src/__pycache__/encoder.cpython-35.pyc differ diff --git a/gpt2/src/__pycache__/model.cpython-35.pyc b/gpt2/src/__pycache__/model.cpython-35.pyc new file mode 100644 index 0000000..93e0087 Binary files /dev/null and b/gpt2/src/__pycache__/model.cpython-35.pyc differ diff --git a/gpt2/src/__pycache__/sample.cpython-35.pyc b/gpt2/src/__pycache__/sample.cpython-35.pyc new file mode 100644 index 0000000..4f76902 Binary files /dev/null and b/gpt2/src/__pycache__/sample.cpython-35.pyc differ diff --git a/requirements.txt b/requirements.txt index 386522f..71e00f8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ regex==2017.4.5 numpy -tensorflow==1.13.1 +tensorflow flask -gunicorn==19.7.1 +gunicorn