Method 1: Upload via Web Interface
Go to your repository at https://huggingface.co/NuBest/height-conversion-tool
Click "Files and versions" tab
Click "Add file" → "Upload files" button
Drag and drop all files or click to browse and select multiple files
Add a commit message (e.g., "Add project files")
Click "Commit changes to main"
Tip: You can upload multiple files at once by selecting them all together.Method 2: Upload via Python (Recommended)This method uploads all files in one command:pythonfrom huggingface_hub import login, upload_folder
# Step 1: Login with your Hugging Face credentials
login()
# Step 2: Upload entire folder to repository
upload_folder(
folder_path=".", # Current directory with all files
repo_id="NuBest/height-conversion-tool",
repo_type="model"
)Installation:
bashpip install huggingface_hubUsage:
bashpython upload_script.py
Method 3: Upload via Git (For Developers)
This method uses Git commands for version control:
bash# Step 1: Clone your repos…
Height Conversion Tool
A simple and efficient tool for converting height measurements between different units (feet/inches, centimeters, meters).
Model Overview
This tool provides accurate height conversions between various measurement systems commonly used around the world. It supports bidirectional conversions and handles multiple input formats.
Features
Multiple Unit Support: Convert between feet/inches, centimeters, and meters
Flexible Input: Accepts various input formats (e.g., "5'10"", "178 cm", "1.78 m")
High Accuracy: Maintains precision across conversions
Easy to Use: Simple API with clear documentation
Bilingual: Supports English and Vietnamese
Supported Conversions
FromToExampleFeet & InchesCentimeters5'10" → 177.8 cmCentimetersFeet & Inches180 cm → 5'11"MetersFeet & Inches1.75 m → 5'9"Feet & InchesMeters6'0" → 1.83 mCentimetersMeters170 cm → 1.7 m
Installation
bashpip install height-conversion-tool
Or clone this repository:
bashgit clone https://huggingface.co/NuBest/heig…