Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codewithdark-git/mathgpt
The MathGPT is a web application built with Streamlit that allows users to input mathematical problems and receive solutions. The app supports both text and LaTeX input, making it versatile for various mathematical expressions.
https://github.com/codewithdark-git/mathgpt
app equation-solver genai genai-usecase gpt gpt-4o llm llm-agent mathematics mathgpt ocr plot plotting preview-o1 python python3 streamlit
Last synced: 5 days ago
JSON representation
The MathGPT is a web application built with Streamlit that allows users to input mathematical problems and receive solutions. The app supports both text and LaTeX input, making it versatile for various mathematical expressions.
- Host: GitHub
- URL: https://github.com/codewithdark-git/mathgpt
- Owner: codewithdark-git
- License: mit
- Created: 2024-05-19T17:44:53.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-10-14T13:15:24.000Z (2 months ago)
- Last Synced: 2024-11-05T00:25:41.870Z (about 2 months ago)
- Topics: app, equation-solver, genai, genai-usecase, gpt, gpt-4o, llm, llm-agent, mathematics, mathgpt, ocr, plot, plotting, preview-o1, python, python3, streamlit
- Language: Python
- Homepage:
- Size: 82 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MathGPT
## Overview
The **MathGPT** is a web application built with Streamlit that allows users to input mathematical problems and receive solutions. The app supports both text and LaTeX input, making it versatile for various mathematical expressions. Users can also visualize functions and access a history of their solved problems.
## Features
- **Upload File**: Upload images or PDF files.
- **Select OR Draw**: Draw a box around the text or equation you want to OCR.
- **Input Methods**: Choose between text input and LaTeX input for entering mathematical problems.
- **Math Keyboard**: A user-friendly math keyboard for easy symbol insertion.
- **Problem Solving**: Click "Solve" to get solutions for your math problems.
- **Function Plotting**: Visualize mathematical functions with the "Plot Function" feature.
- **History Tracking**: Keep track of previously solved problems.
- **Step-by-Step Explanations**: Get detailed explanations for solutions.## Installation
To run this application locally, follow these steps:
1. **Clone the repository**:
```bash
git clone https://github.com/codewithdark-git/MathGPT.git
cd MathGPT
```2. **Create a virtual environment** (optional but recommended):
```bash
python -m venv venv
venv\Scripts\activate
```3. **Install the required packages**:
```bash
pip install -r requirements.txt
```4. **Run the application**:
```bash
streamlit run app.py
```## Usage
1. **Open the app**: After running the application, it will open in your default web browser.
2. **Upload File**: After the model loads, upload an image or a PDF.
3. **Select OR Draw**: Draw a box around the equation or text you want to OCR by clicking and dragging.
4. **Input your problem**: Use the "Text Input" or "LaTeX Input" tabs to enter your mathematical problem.
5. **Use the Math Keyboard**: Click on symbols to insert them into your input.
6. **Solve or Plot**: Click "Solve" to get the solution or "Plot Function" to visualize the function.
7. **View History**: Access the "Problem History" section to see previously solved problems.## Feedback
We appreciate your feedback! Use the feedback section in the sidebar to share your thoughts or report issues.
## License
This project is licensed under the MIT License. See the LICENSE file for details.
## Acknowledgments
- [Streamlit](https://streamlit.io/) for the framework.
- [latex2mathml](https://github.com/latex2mathml/latex2mathml) for LaTeX rendering.
- [Pandas](https://pandas.pydata.org/) for data manipulation.
- [Pillow](https://python-pillow.org/) for image processing.
- [Texify](https://github.com/VikParuchuri/texify.git) for image and PDF Processing