Skip to content

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.

License

Notifications You must be signed in to change notification settings

codewithdark-git/MathGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

    git clone https://github.com/codewithdark-git/MathGPT.git
    cd MathGPT
  2. Create a virtual environment (optional but recommended):

    python -m venv venv
    venv\Scripts\activate
  3. Install the required packages:

    pip install -r requirements.txt
  4. Run the application:

    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

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages