Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import os
from flask import Flask
from generator import generator
app = Flask(__name__)
def generate_buzz():
page = """<html>
<title>Movies Generator</title>
page += """ <body>
<h1>"""+generator.generate_movie() +"""</h1>
return page
if __name__ == "__main__":'', port=int(os.getenv('PORT', 5000)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment