CoolFace
Apppublic

DerrickHodge/green_cosmetics

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
App README

Skincare Product Pricing Calculator

A user-friendly web application built with Gradio that helps calculate pricing, costs, and profit margins for skincare product manufacturing.

Features

  • —Calculate production costs and pricing for skincare products
  • —Input customization for all ingredients and their prices
  • —Automatic calculation of:
  • —Number of jars produced
  • —Total material costs
  • —Labor costs
  • —Cost per jar
  • —Suggested retail prices
  • —Revenue and profit projections
  • —Profit margins
  • —Multiple pricing tier suggestions (Economy, Standard, Premium)
  • —Real-time updates as you adjust values

Installation

  1. 1.Clone this repository:
bash
git clone https://github.com/yourusername/skincare-pricing-calculator.git
cd skincare-pricing-calculator
  1. 1.Create a virtual environment (recommended):
bash
python -m venv venv
source venv/bin/activate  # On Windows, use: venv\Scripts\activate
  1. 1.Install the required packages:
bash
pip install -r requirements.txt

Usage

  1. 1.Run the application:
bash
python app.py
  1. 1.Open your web browser and navigate to the URL shown in the terminal (typically http://127.0.0.1:7860)
  1. 1.Use the interface to:
  2. 2.Input ingredient quantities and prices
  3. 3.Set production parameters (labor rate, hours, jar costs)
  4. 4.Adjust markup multiplier
  5. 5.View calculated results and pricing tiers

Default Values

The calculator comes with these preset values:

Ingredients

  • —Shea Butter: 7 lbs at $30.45
  • —Kokum Butter: 14 oz at $9.90
  • —Vitamin E Oil: 2 oz at $4.45
  • —Hyaluronic Acid: 2 oz at $12.00
  • —Glycerin: 16 oz at $11.40
  • —Beeswax: 1 lb at $15.00

Production Settings

  • —Jar Cost: $40 per 40 jars
  • —Labor Rate: $15 per hour
  • —Production Time: 2.5 hours
  • —Default Markup: 3.0x
  • —Jar Size: 4 oz

Customization

All values can be adjusted through the user interface. The application automatically recalculates results when any value is changed.

Contributing

  1. 1.Fork the repository
  2. 2.Create a feature branch
  3. 3.Commit your changes
  4. 4.Push to the branch
  5. 5.Create a Pull Request

License

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

Support

For support, please open an issue in the GitHub repository or contact [your contact information].

Acknowledgments

  • —Built with Gradio
  • —Inspired by small business needs in the skincare industry
  • — Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference