Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
6.2.0
metadata
title: Calcfastapi
emoji: π
colorFrom: pink
colorTo: gray
sdk: gradio
sdk_version: 4.40.0
app_file: app.py
pinned: false
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
Scientific Calculator
This is a scientific calculator built with Gradio and FastAPI. It provides a user-friendly interface for performing various mathematical operations, including basic arithmetic and advanced functions like trigonometry and logarithms.
Features
- Basic arithmetic operations: addition, subtraction, multiplication, division
- Advanced functions: sin, cos, tan, log, ln, sqrt
- Constants: Ο (pi) and e
- Calculation history
- Error handling for invalid expressions
How to Use
- Enter your mathematical expression using the buttons or by typing directly into the display field.
- Press the "=" button or hit Enter to calculate the result.
- The result will be displayed in the large result field.
- The last 5 calculations will be shown in the history section.
Running the App
This app is designed to run on Hugging Face Spaces. Simply clone this space and it will automatically deploy and run the application.
Dependencies
- gradio
- fastapi
- pydantic
Enjoy calculating!