Skip to content
This repository was archived by the owner on Nov 29, 2022. It is now read-only.
/ python-ai-two Public archive

This contains the starter code for the MLH Localhost Workshop Intro to Python Skills for AI Part Two

Notifications You must be signed in to change notification settings

MLH/python-ai-two

Repository files navigation

Welcome to Intro to AI Skills with Python by Capital One, Part II

This application allows you to "chat" with a celebrity. Please note - in this version, we have not yet included any AI. The chat will simply respond with any one of the celebrity's Tweets. In the next workshop, you'll learn how to Markovify them!

What tools does this app use?

  • Python3 - Python3.5 comes standard inside Glitch. You don't have to install anything!
  • Pip - The python package manager. This allows you to install any of the libraries and frameworks that your project will need. This also comes already installed in Glitch!
  • Flask - A simple and flexible Python Web Framework that provides tools, libraries and technologies to build a web application. Glitch will install this for us!
  • Flask-SocketIO - Flask-SocketIO is a tool that makes creating the chat part (sending messages back and forth) faster.
  • Tweepy - Twitter for Python! This is a library that makes it easier to use the Twitter API with Python

Your Project

← static/logo.svg

That's the MLH logo you see on the demo.

← static/script.js

This is the file that makes our website interactive. This is a JavaScript file.

← static/style.css

This is the file that styles our website so that it doesn't look just like plain text.

← templates/homepage.html

That's the index file of our webpage. When a user navigates to our webpage, it will automatically open homepage.html.

← .env.example

This is the file where you'll store credentials from Twitter. We'll learn more about this later.

← LICENSE

This file states that you can edit, change, or use this app however you want!

← config.py

This file specifies some settings for our app.

← Glitch.json

This file makes sure that our app runs using the correct version of Python

← main.py

This file handles the request and response cycle of our app.

← markov_bot.py

This file retrieves Tweets from Twitter and uses some of the scraping techniques you learned in the previous workshop to return clean Tweets.

← README.md

That's this file, where you can tell people what your cool website does and how you built it.

← requirements.txt

This is a file that tells Glitch what Python libraries we need to install.

Made with Glitch

\ ゜o゜)ノ

About

This contains the starter code for the MLH Localhost Workshop Intro to Python Skills for AI Part Two

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published