Code Monkey home page Code Monkey logo

essay-generator's Introduction

Essay-Generator

What it Does

  • The project Essay-Generator will generate essay and save it to a .txt file.
  • This project also supports audio playback.

How it Works

This project is based on Web Scrapping which will fetch the information by using Selenium and find the content by using the id and tag_name of webpage(html).

Setup

Modules to be Installed

  • Install Pyaudio:
  pip install pyaudio

NOTE

  pip install PyAudio‑0.2.11‑cp37‑cp37m‑win_amd64.whl

MODULES USED

  • Install selenium:
  pip install selenium

  • Install playsound.
 pip install playsound

  • Install playsound.
 pip install PyQt5

  • Install gtts:
 pip install gTTS

Run the Application

From the main directory:

Step 1

  • Enter the topic of the Essay

Step 2

  • Choose the browser

Step 3

  • Click "GENERATE" to begin the process.

NOTE

  • The PyQt5 GUI may show the message not responding and will freeze the GUI, please don't exit the program. It will be responsive again when the process will get executed.
  • This project also have audio playback which will play the audio file after the .txt file get saved.
  • The gTTS conversion all depends on the Internet Connection, faster the connection, faster will be the conversion.
  • Please note that the PyQt basically works like a Queue which means process get executed one-by-one. It basically requires the knowledge of "Threading", which is very complex to implement. So, please cooperate with app, it'll do its' work.
  • If you see message on the console or cmd like "gtts.tts.gTTSError: 500 (Internal Server Error) from TTS API. Probable cause: Uptream API error. Try again later." then please close the terminal or cmd. Because if from client side so much Google API requests are made then Google automatically blocked you (temporarily).
  • Source pndurette/gTTS#114

essay-generator's People

Contributors

the-next-ceo avatar

Stargazers

 avatar

Watchers

 avatar

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.