Equation2Graph / README.md
KarthikGarlapati's picture
Update README.md
c97a12e verified
---
title: My Streamlit App
emoji: 🧠
colorFrom: blue
colorTo: green
sdk: streamlit
sdk_version: "1.34.0"
app_file: app.py
pinned: false
---
# T5 Small Transformer App
This Space uses the `t5-small` model to perform text-to-text tasks like summarization and translation.
Check out the configuration reference at [Hugging Face Docs](https://huggingface.co/docs/hub/spaces-config-reference)
# Equation2Graph - Interactive Mathematical Equation Visualizer
![Equation2Graph Logo](https://via.placeholder.com/150?text=Equation2Graph)
## Overview
Equation2Graph is an AI-powered web application that allows users to visualize mathematical equations from both symbolic input and natural language descriptions. The app can handle complex equations of any length or complexity, making it accessible for students, educators, and professionals alike.
## Features
- **Natural Language Input**: Describe your equation in plain English
- **Direct Equation Input**: Enter mathematical expressions using standard notation
- **Interactive Visualization**: Real-time graphing with adjustable parameters
- **Complex Equation Support**: Handles a wide range of mathematical functions and operations
- **Save & Share**: Download your visualizations for presentations or assignments
- **Example Library**: Built-in examples to help you get started
## Installation & Setup
### Prerequisites
- Python 3.8 or higher
- pip package manager
### Local Installation
1. Clone the repository:
```bash
git clone https://code.swecha.org/your-username/equation2graph.git
cd equation2graph
```
2. Install dependencies:
```bash
pip install -r requirements.txt
```
3. Run the application:
```bash
streamlit run app.py
```
4. Open your browser and navigate to the URL displayed in your terminal (typically http://localhost:8501)
## Usage
### Natural Language Input
Type a description of your equation in plain English, for example:
- "the square of x plus two times x plus one"
- "sine of x squared times exponential of negative zero point one times x squared"
### Direct Equation Input
Enter your equation using standard mathematical notation:
- `x^2 + 2*x + 1`
- `sin(x^2)*exp(-0.1*x^2)`
- `(x^4 - 5*x^2 + 4)/(x^2 + 1)`
### Supported Functions
- **Basic operations**: `+`, `-`, `*`, `/`, `^` (power)
- **Trigonometric functions**: `sin`, `cos`, `tan`
- **Exponential and logarithmic**: `exp`, `log`
- **Other**: `sqrt`, `abs`
- **Combinations** of any of the above
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Contributors
- [KARTHIK GARLAPATI] - Project Lead
- [KAVYA GARLAPATI] - AI Engineer
- [RENU SRI] - Frontend Developer
- [SHEETHAL] - Data Scientist
- [KOMALI KIRAN] - UX Designer
## Acknowledgments
- Special thanks to the Streamlit community
- Thanks to Hugging Face for providing free model hosting