Giter Club home page Giter Club logo

food_gpt's Introduction

Food GPT: Nutritional Analysis App

Food GPT App Demo

Screen.Recording.2024-03-15.at.9.02.48.PM.mov

Table of Contents

Introduction

Food GPT is a Flutter-based application designed to provide users with detailed nutritional analysis of food items. By integrating with the OpenAI API, Food GPT offers a unique way to understand the nutritional content of various foods, including items, fats, proteins, carbs, and calories.

Features

  • Dark Theme: A sleek dark theme for a comfortable viewing experience.
  • User-Friendly Interface: Easy-to-navigate UI that makes it simple to input food items and view their nutritional analysis.
  • Real-Time Analysis: Seamless integration with the OpenAI API for real-time nutritional analysis.
  • Detailed Information: Provides comprehensive information on items, fats, proteins, carbs, and calories.

Installation

  1. Clone the repository:
git clone https://github.com/Krunal-375/food_gpt.git
  1. Navigate to the project directory:
cd food_gpt
  1. Install dependencies:
flutter pub get
  1. Configure API Key and GPT Model Name: Before running the app, you need to replace the placeholder apiKey and gptModel with your actual OpenAI API key and the name of the GPT model you're using.
    • Locate the apiKey and gptModel variables.
    • Replace the placeholder values with your actual API key and GPT model name.
const apiKey = "your-api-key";
const gptModel = "for-example-gpt-3.5-turbo-0613";
  1. Run the app:
flutter run

Usage

  1. Launch the app.
  2. Enter a food item in the text box.
  3. Click the "Send" button.
  4. The app will display the nutritional analysis of the entered food item.

Contributing

Contributions are welcome! If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Support

If you find this project helpful, please consider giving it a star โญ on GitHub. Your support helps in maintaining and improving the project.

food_gpt's People

Contributors

krunal-375 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.