Giter VIP home page Giter VIP logo

streamlit_objective_funny's Introduction

Welcome to the front-end of Objectively Funny

View the web app here

About

Objectively Funny was made by 4 Le Wagon Data Science students as our final project.

We have sourced and processed a wide range of stand-up scripts to analyse comedians and make our own comedy.

Link to Repo

Description

  • Constructed a scraper to source and clean 3.6 million words of stand-up comedy from a variety of online sources using BeautifulSoup, Requests, and Pandas.
  • Carried out a machine learning analysis using a Latent Dirichlet Allocation (LDA) on the processed dataset and used wordclouds to visualise results.
  • Finetuned a bot using GPT2 (gpt-2-simple, credit: Max Woolf) on the subset of female comedian scripts & generted entirely original stand-up comedy material from only a few words of text input. Created an API for the bot using FastAPI, Docker and Google Cloud Run.
  • Integrated and published the completed project on a public site using Streamlit.

Note: Our joke-generating API is no longer running, but you can view here the word clouds of stand-up comedy themes, and a few jokes our bot generated before.

To run locally

make install_requirements
make streamlit

streamlit_objective_funny's People

Contributors

yuqingwwang avatar

Watchers

 avatar

streamlit_objective_funny's Issues

to do

Changes needed:

  • background-color -> black; color -> white
  • Cloud: changing the size of pictures display
  • Bot: update to hide the generate button for now (or ask for access to models)
  • Bot: new button display joke

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.