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:
Clone the repository:
Create a virtual environment (optional but recommended):
Install the required packages:
Run the application:
Usage
Open the app: After running the application, it will open in your default web browser.
Upload File: After the model loads, upload an image or a PDF.
Select OR Draw: Draw a box around the equation or text you want to OCR by clicking and dragging.
Input your problem: Use the "Text Input" or "LaTeX Input" tabs to enter your mathematical problem.
Use the Math Keyboard: Click on symbols to insert them into your input.
Solve or Plot: Click "Solve" to get the solution or "Plot Function" to visualize the function.
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.
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 La…