<reponame>Atxsalomon/cssi
import webapp2
from google.appengine.api import urlfetch
import json
import jinja2

template_loader = jinja2.FileSystemLoader(searchpath="./")
template_env = jinja2.Environment(loader=template_loader)

class MemeTemp(webapp2.RequestHandler):
    def get(self):
        template = template_env.get_template('home.html')
        self.response.write(template.render())

class MemeResult(webapp2.RequestHandler):
    def post(self):
        template = template_env.get_template('result.html')
        self.response.write(template.render())

app = webapp2.WSGIApplication([
    #('/red', MainPage),
    ('/meme', MemeTemp),
    ('/meme_result', MemeResult)
    ])

import webapp2
from google.appengine.api import urlfetch
import json
import jinja2

template_loader = jinja2.FileSystemLoader(searchpath="./")
template_env = jinja2.Environment(loader=template_loader)

class MemeTemp(webapp2.RequestHandler):
    def get(self):
        template = template_env.get_template('home.html')
        self.response.write(template.render())

class MemeResult(webapp2.RequestHandler):
    def post(self):
        template = template_env.get_template('result.html')
        self.response.write(template.render())

app = webapp2.WSGIApplication([
    #('/red', MainPage),
    ('/meme', MemeTemp),
    ('/meme_result', MemeResult)
    ])
#('/red', MainPage),