Skip to content

Commit fb9b901

Browse files
committed
Updates
0 parents  commit fb9b901

30 files changed

+737
-0
lines changed

.env.example

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Gemini API Key Configuration
2+
#
3+
# This app uses Google's Gemini API for AI-powered features:
4+
# - Smart filter recommendations based on time of day
5+
# - AI skin analysis and personalized filter suggestions based on your appearance
6+
#
7+
# ========================================
8+
# How to Get Your FREE API Key
9+
# ========================================
10+
#
11+
# 1. Visit: https://aistudio.google.com/app/api-keys
12+
# 2. Sign in with your Google account
13+
# 3. Click "Create API Key"
14+
# 4. Copy the generated key
15+
#
16+
# ========================================
17+
# Setup Instructions
18+
# ========================================
19+
#
20+
# 1. Copy this file and rename it to .env (remove .example)
21+
# Command: cp .env.example .env
22+
#
23+
# 2. Replace 'your_gemini_api_key_here' below with your actual API key
24+
#
25+
# 3. Restart your development server
26+
# Command: npm start
27+
#
28+
# ========================================
29+
# Security Best Practices
30+
# ========================================
31+
#
32+
# ✓ The .env file is in .gitignore (won't be committed to Git)
33+
# ✓ Never share your API key publicly
34+
# ✓ Never commit .env to version control
35+
# ✓ Regenerate your key if accidentally exposed
36+
#
37+
# ========================================
38+
# Educational Notes
39+
# ========================================
40+
#
41+
# In Create React App, all custom environment variables MUST be prefixed with REACT_APP_
42+
# to be accessible in the browser. We use REACT_APP_GEMINI_API_KEY as required by CRA.
43+
#
44+
# Access in code:
45+
# const apiKey = process.env.REACT_APP_GEMINI_API_KEY;
46+
#
47+
# Learn more about environment variables:
48+
# https://create-react-app.dev/docs/adding-custom-environment-variables/
49+
#
50+
# ========================================
51+
52+
REACT_APP_GEMINI_API_KEY=your_gemini_api_key_here

.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# production
12+
/build
13+
14+
# misc
15+
.DS_Store
16+
.env
17+
.env.local
18+
.env.development.local
19+
.env.test.local
20+
.env.production.local
21+
22+
npm-debug.log*
23+
yarn-debug.log*
24+
yarn-error.log*

asset-manifest.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"files": {
3+
"main.css": "/beautify-me/static/css/main.4cb05e45.css",
4+
"main.js": "/beautify-me/static/js/main.5efea59c.js",
5+
"static/js/453.16620926.chunk.js": "/beautify-me/static/js/453.16620926.chunk.js",
6+
"index.html": "/beautify-me/index.html",
7+
"main.4cb05e45.css.map": "/beautify-me/static/css/main.4cb05e45.css.map",
8+
"main.5efea59c.js.map": "/beautify-me/static/js/main.5efea59c.js.map",
9+
"453.16620926.chunk.js.map": "/beautify-me/static/js/453.16620926.chunk.js.map"
10+
},
11+
"entrypoints": [
12+
"static/css/main.4cb05e45.css",
13+
"static/js/main.5efea59c.js"
14+
]
15+
}

favicon.ico

3.78 KB
Binary file not shown.

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/beautify-me/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Beautify Me - Transform your appearance with stunning real-time webcam filters. 20+ creative filters, beauty mode, and instant photo capture. 100% private and browser-based."/><meta name="keywords" content="webcam filters, real-time filters, photo filters, beauty mode, react, javascript, webrtc, canvas"/><meta name="author" content="Beautify Me"/><link rel="apple-touch-icon" href="/beautify-me/logo192.png"/><link rel="manifest" href="/beautify-me/manifest.json"/><title>Beautify Me - Real-time Webcam Filters</title><script defer="defer" src="/beautify-me/static/js/main.5efea59c.js"></script><link href="/beautify-me/static/css/main.4cb05e45.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

logo192.png

5.22 KB
Loading

logo512.png

9.44 KB
Loading

manifest.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"short_name": "React App",
3+
"name": "Create React App Sample",
4+
"icons": [
5+
{
6+
"src": "favicon.ico",
7+
"sizes": "64x64 32x32 24x24 16x16",
8+
"type": "image/x-icon"
9+
},
10+
{
11+
"src": "logo192.png",
12+
"type": "image/png",
13+
"sizes": "192x192"
14+
},
15+
{
16+
"src": "logo512.png",
17+
"type": "image/png",
18+
"sizes": "512x512"
19+
}
20+
],
21+
"start_url": ".",
22+
"display": "standalone",
23+
"theme_color": "#000000",
24+
"background_color": "#ffffff"
25+
}
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
[
2+
{
3+
"weights":
4+
[
5+
{"name":"entry_flow/conv_in/filters","shape":[3,3,3,32],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.005431825039433498,"min":-0.7441600304023892}},
6+
{"name":"entry_flow/conv_in/bias","shape":[32],"dtype":"float32"},
7+
{"name":"entry_flow/reduction_block_0/separable_conv0/depthwise_filter","shape":[3,3,32,1],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.005691980614381678,"min":-0.6090419257388395}},
8+
{"name":"entry_flow/reduction_block_0/separable_conv0/pointwise_filter","shape":[1,1,32,64],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.009089225881239947,"min":-1.1179747833925135}},
9+
{"name":"entry_flow/reduction_block_0/separable_conv0/bias","shape":[64],"dtype":"float32"},
10+
{"name":"entry_flow/reduction_block_0/separable_conv1/depthwise_filter","shape":[3,3,64,1],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.00683894624897078,"min":-0.8138346036275228}},
11+
{"name":"entry_flow/reduction_block_0/separable_conv1/pointwise_filter","shape":[1,1,64,64],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.011632566358528886,"min":-1.3028474321552352}},
12+
{"name":"entry_flow/reduction_block_0/separable_conv1/bias","shape":[64],"dtype":"float32"},
13+
{"name":"entry_flow/reduction_block_0/expansion_conv/filters","shape":[1,1,32,64],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.010254812240600587,"min":-0.9229331016540528}},
14+
{"name":"entry_flow/reduction_block_0/expansion_conv/bias","shape":[64],"dtype":"float32"},
15+
{"name":"entry_flow/reduction_block_1/separable_conv0/depthwise_filter","shape":[3,3,64,1],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.0052509616403018725,"min":-0.6406173201168285}},
16+
{"name":"entry_flow/reduction_block_1/separable_conv0/pointwise_filter","shape":[1,1,64,128],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.010788509424994973,"min":-1.4564487723743214}},
17+
{"name":"entry_flow/reduction_block_1/separable_conv0/bias","shape":[128],"dtype":"float32"},
18+
{"name":"entry_flow/reduction_block_1/separable_conv1/depthwise_filter","shape":[3,3,128,1],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.00553213918910307,"min":-0.7025816770160899}},
19+
{"name":"entry_flow/reduction_block_1/separable_conv1/pointwise_filter","shape":[1,1,128,128],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.013602388606351965,"min":-1.6186842441558837}},
20+
{"name":"entry_flow/reduction_block_1/separable_conv1/bias","shape":[128],"dtype":"float32"},
21+
{"name":"entry_flow/reduction_block_1/expansion_conv/filters","shape":[1,1,64,128],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.007571851038465313,"min":-1.158493208885193}},
22+
{"name":"entry_flow/reduction_block_1/expansion_conv/bias","shape":[128],"dtype":"float32"},
23+
{"name":"middle_flow/main_block_0/separable_conv0/depthwise_filter","shape":[3,3,128,1],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.005766328409606335,"min":-0.6688940955143349}},
24+
{"name":"middle_flow/main_block_0/separable_conv0/pointwise_filter","shape":[1,1,128,128],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.012136116214826995,"min":-1.5776951079275094}},
25+
{"name":"middle_flow/main_block_0/separable_conv0/bias","shape":[128],"dtype":"float32"},
26+
{"name":"middle_flow/main_block_0/separable_conv1/depthwise_filter","shape":[3,3,128,1],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.004314773222979377,"min":-0.5652352922102984}},
27+
{"name":"middle_flow/main_block_0/separable_conv1/pointwise_filter","shape":[1,1,128,128],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.01107162026798024,"min":-1.2400214700137868}},
28+
{"name":"middle_flow/main_block_0/separable_conv1/bias","shape":[128],"dtype":"float32"},
29+
{"name":"middle_flow/main_block_0/separable_conv2/depthwise_filter","shape":[3,3,128,1],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.0036451735917259667,"min":-0.4848080876995536}},
30+
{"name":"middle_flow/main_block_0/separable_conv2/pointwise_filter","shape":[1,1,128,128],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.008791744942758598,"min":-1.134135097615859}},
31+
{"name":"middle_flow/main_block_0/separable_conv2/bias","shape":[128],"dtype":"float32"},
32+
{"name":"middle_flow/main_block_1/separable_conv0/depthwise_filter","shape":[3,3,128,1],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.004915751896652521,"min":-0.6095532351849126}},
33+
{"name":"middle_flow/main_block_1/separable_conv0/pointwise_filter","shape":[1,1,128,128],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.010868691463096469,"min":-1.3368490499608656}},
34+
{"name":"middle_flow/main_block_1/separable_conv0/bias","shape":[128],"dtype":"float32"},
35+
{"name":"middle_flow/main_block_1/separable_conv1/depthwise_filter","shape":[3,3,128,1],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.005010117269029804,"min":-0.6012140722835765}},
36+
{"name":"middle_flow/main_block_1/separable_conv1/pointwise_filter","shape":[1,1,128,128],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.010311148213405235,"min":-1.3816938605963016}},
37+
{"name":"middle_flow/main_block_1/separable_conv1/bias","shape":[128],"dtype":"float32"},
38+
{"name":"middle_flow/main_block_1/separable_conv2/depthwise_filter","shape":[3,3,128,1],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.004911523706772748,"min":-0.7367285560159123}},
39+
{"name":"middle_flow/main_block_1/separable_conv2/pointwise_filter","shape":[1,1,128,128],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.008976466047997568,"min":-1.2207993825276693}},
40+
{"name":"middle_flow/main_block_1/separable_conv2/bias","shape":[128],"dtype":"float32"},
41+
{"name":"exit_flow/reduction_block/separable_conv0/depthwise_filter","shape":[3,3,128,1],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.005074804436926748,"min":-0.7104726211697447}},
42+
{"name":"exit_flow/reduction_block/separable_conv0/pointwise_filter","shape":[1,1,128,256],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.011453078307357489,"min":-1.4545409450344011}},
43+
{"name":"exit_flow/reduction_block/separable_conv0/bias","shape":[256],"dtype":"float32"},
44+
{"name":"exit_flow/reduction_block/separable_conv1/depthwise_filter","shape":[3,3,256,1],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.007741751390344957,"min":-1.1380374543807086}},
45+
{"name":"exit_flow/reduction_block/separable_conv1/pointwise_filter","shape":[1,1,256,256],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.011347713189966538,"min":-1.497898141075583}},
46+
{"name":"exit_flow/reduction_block/separable_conv1/bias","shape":[256],"dtype":"float32"},
47+
{"name":"exit_flow/reduction_block/expansion_conv/filters","shape":[1,1,128,256],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.006717281014311547,"min":-0.8329428457746318}},
48+
{"name":"exit_flow/reduction_block/expansion_conv/bias","shape":[256],"dtype":"float32"},
49+
{"name":"exit_flow/separable_conv/depthwise_filter","shape":[3,3,256,1],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.0027201742518181892,"min":-0.3237007359663645}},
50+
{"name":"exit_flow/separable_conv/pointwise_filter","shape":[1,1,256,512],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.010076364348916447,"min":-1.330080094056971}},
51+
{"name":"exit_flow/separable_conv/bias","shape":[512],"dtype":"float32"},
52+
{"name":"fc/age/weights","shape":[512,1],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.008674054987290326,"min":-1.2664120281443876}},
53+
{"name":"fc/age/bias","shape":[1],"dtype":"float32"},
54+
{"name":"fc/gender/weights","shape":[512,2],"dtype":"float32","quantization":{"dtype":"uint8","scale":0.0029948226377075793,"min":-0.34140978069866407}},
55+
{"name":"fc/gender/bias","shape":[2],"dtype":"float32"}
56+
],
57+
"paths":
58+
[
59+
"age_gender_model.bin"
60+
]
61+
}
62+
]

models/age_gender_model.bin

420 KB
Binary file not shown.

0 commit comments

Comments
 (0)