Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Textura

This project is a Flask-based web application that utilizes the Hugging Face API for image generation and text summarization.

Table of Contents

About

This project demonstrates the use of the Hugging Face API to perform image generation and text summarization. It provides a simple web interface where users can input text for summarization or provide parameters for image generation.

Getting Started

Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Ensure you have the following installed on your machine:

  • Python 3.8 or higher
  • Flask
  • Requests library

You will also need an API key from Hugging Face. You can sign up and obtain your API key here.

Installation

  1. Clone the repository

    git clone https://github.com/impanaj07/Textura.git
    cd Textura
  2. Create and activate a virtual environment

    python3 -m venv venv
    source venv/bin/activate
  3. Install the required packages

    pip install -r requirements.txt
  4. Set up your environment variables. Create a .env file in the root directory and add your Hugging Face API key:

    HUGGING_FACE_API_KEY=your_hugging_face_api_key
  5. Run the Flask application

    flask run

Usage

Once the application is running, you can access it at http://127.0.0.1:5000. Use the web interface to input text for summarization or provide parameters for image generation.

Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Acknowledgements

About

Textura is a Flask-based application that offers text summarization and pixel image generation. It helps users quickly generate summaries from long text and create creative pixel art images.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages