Screen.Recording.2024-03-15.at.9.02.48.PM.mov
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.
- 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.
- Clone the repository:
git clone https://github.com/Krunal-375/food_gpt.git
- Navigate to the project directory:
cd food_gpt
- Install dependencies:
flutter pub get
- Configure API Key and GPT Model Name: Before running the app, you need to replace the placeholder
apiKey
andgptModel
with your actual OpenAI API key and the name of the GPT model you're using.- Locate the
apiKey
andgptModel
variables. - Replace the placeholder values with your actual API key and GPT model name.
- Locate the
const apiKey = "your-api-key";
const gptModel = "for-example-gpt-3.5-turbo-0613";
- Run the app:
flutter run
- Launch the app.
- Enter a food item in the text box.
- Click the "Send" button.
- The app will display the nutritional analysis of the entered food item.
Contributions are welcome! If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.
This project is licensed under the MIT License - see the LICENSE.md file for details.
If you find this project helpful, please consider giving it a star โญ on GitHub. Your support helps in maintaining and improving the project.