Skip to content

dhrupatel031205/MIni_Python_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1. Refined Description

  • The description now clearly outlines the features of the project, specifying the key functions it offers, such as:
    • Image-to-text recognition
    • Audio-to-text conversion
    • Text generation
    • An automation page to convert media and generate content.

2. Library List

  1. ReactPy: For creating the home page UI.
  2. Gradio: For interacting with models.
  3. Transformers: For encoding and decoding text, images, and audio.
  4. Streamlit: For handling the automation page.
  5. PyAutoGui: For performing the automatic operation on the pc
  6. Selenium: For operating the webbrowser.

3. Pretrained Models

  • Tesseract OCR: For image-to-text conversion.
  • Speech Recognition: For converting audio to text.
  • GPT-2: For text generation.
  • Sentiment Analyzer: For analyzing sentiment in text.

4. Setup Instructions (How to Run the Project)

1. Setup the Virtual Environment

  • Create a virtual environment using the following command:
    python -m venv env
  • Activate the virtual environment:
    • For Windows:
      cd env\Scripts
      .\activate
    • For macOS/Linux:
      source env/bin/activate

2. Install Dependencies

Once inside the activated virtual environment, install the required libraries:

pip install reactpy transformers gradio streamlit pyautogui selenium

5. Running the Project

Open three terminal windows to run the following commands in parallel:

  1. Run the main UI:

    python ui.py

    This will run the main home page of the project on a local server.

  2. Activate the Gradio bots:

    python app.py

    This will start the Gradio bots on a local server.

  3. Activate the Automation page:

    streamlit automation.py

    This will run the Streamlit automation page on a local server.

6. Folder Structure

  • Project Directory:
    • env/: Virtual environment folder
    • ui.py: ReactPy-based UI for the home page
    • app.py: Gradio bot integration
    • automation.py: Automation page logic using Streamlit

7. Screenshots Sections

  • Home Page

    • Screenshot
  • Bots Page

    • Image Analyzer: Screenshot
    • Audio Analyzer: Screenshot
    • Text Analyzer:Screenshot
  • Automation Page: Screenshot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages