diff --git a/.gitignore b/.gitignore index 8d6f8df..b5a14f5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ **/__pychache__ .idea *.json +*.pyc +*.pyo diff --git a/other/caching.py b/other/cacher.py similarity index 79% rename from other/caching.py rename to other/cacher.py index 9d57d87..bac80fe 100644 --- a/other/caching.py +++ b/other/cacher.py @@ -1,13 +1,4 @@ -from flask import g -from flask import session -import os -import googleapiclient.discovery -from story.utils import * from google.cloud import storage -import json -from flask import Flask, render_template, request, abort -from generator import StoryGenerator -import gpt2.src.encoder as encoder # Model/Cache Info storage_client = storage.Client()