Code Monkey home page Code Monkey logo

emailgenerator's Introduction

Email Generator

This is a web app that can generate emails based on the user's input. The app uses Streamlit and LangChain to create a user interface and a language model. The app allows the user to enter the email topic, sender name, recipient name, and writing style, and then generates an email text by using the language model.

Requirements

To run this app, you need to have the following:

  • Python 3.7 or higher
  • Streamlit 1.2.0 or higher
  • LangChain 0.1.0 or higher
  • CogView Transformers 0.0.1 or higher
  • A local file called models/llama-2-7b-chat.ggmlv3.q8_0.bin, which is a quantized version of the Llama-2-7B-Chat model.

Installation

To install the required libraries, you can use the following command:

pip install streamlit langchain ctransformers

To download the model file, you can use the following command:

wget https://huggingface.co/TheBloke/Llama-2-7B-Chat-GGML/tree/main/models/llama-2-7b-chat.ggmlv3.q8_0.bin

Usage

To run the app, you can use the following command: streamlit run app.py The app will open in your browser and you can start using it.

emailgenerator's People

Contributors

sri1991 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.