Skip to content

coolsand19/Smart-Calculator-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Calculator

This project contains a simple calculator that can parse natural language queries and a web interface to interact with it.

Screenshots of output

Before any execution

Query execution

Calculator execution

Prerequisites

  • Python 3.6+

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/SmartCalculator.git
  2. Install the dependencies:

    pip install fastapi uvicorn

How to run the web application

  1. Start the backend server:

    uvicorn api:app --reload
  2. Open the frontend:

    Open the index.html file in your web browser.

  3. Use the calculator:

    Enter your calculation query in the input box and click "Calculate".

How to run the command-line application

python main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published