This project contains a simple calculator that can parse natural language queries and a web interface to interact with it.
- Python 3.6+
-
Clone the repository:
git clone https://github.com/your-username/SmartCalculator.git
-
Install the dependencies:
pip install fastapi uvicorn
-
Start the backend server:
uvicorn api:app --reload
-
Open the frontend:
Open the
index.html
file in your web browser. -
Use the calculator:
Enter your calculation query in the input box and click "Calculate".
python main.py