Giter Club home page Giter Club logo

summ3r-y's Introduction

Summ3r-y

This is a small webservice project that allows you to upload a mp3 audio while that then gets transcribed and summarized by openAi models. The project was realized as part of OpenAI Whisper, GPT3, Codex & DALL-E 2 Hackathon together with colonelWalterKurtz and PioSikorski.

Repo layout

  • /summ3ry dir contains the flask service application
  • /preview contains preview images for use in the README.md file
  • /tests contains testsuite that is used within CI/CD

Stack

The project uses following technologies:

  • Python 3.10
  • Flask for webserver.
  • OpenAi python API for integration with openAi models.
    • Whisper for transcribing audio files.
    • GPT3 for summarizing the given transcript.
  • various smaller python packages with common uses such as os.

Overview

Main page contains a UI for uploading mp3 files, after submission a request is sent to openAi whisper which transcribes the audio into a text file. The transcript is then forwarded into openAi NLP Curie model which summarizes the given transcript to shorten it.

homepage view

After that is done the results are then displayed in summary page side by side with the transcripts where both files can be downloaded.

summary view

Setup

In order to set up the environment for this project you will need to install required packages in requirements.txt file as well as add an ".env" file containing a variable called:

OPENAI_API_KEY=[you key here]

that contains you GPT-3 API key - without that your server will crash due to no valid access to the OpenAI 3GPT API

After that setup you should be able to run the server by simply running:

$flask run

or running setup.py using python like this:

$python setup.py

summ3r-y's People

Contributors

ar621 avatar colonelwalterkurtz avatar piosikorski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

summ3r-y's Issues

Internal Server Error upon different language input

User view:

Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

Server side log:

UnicodeEncodeError: 'charmap' codec can't encode character '\u0144' in position 5: character maps to <undefined>

The uploaded file was in polish lang. so the crash is caused most likely due to error while processing the special characters in polish lang.

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.