Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 971 Bytes

README.md

File metadata and controls

53 lines (34 loc) · 971 Bytes

SIMPLE API DEMONSTRATION USING FASTAPI

Prerequisite

Setting Up the Virtual Environment

On Linux/MacOS:

  1. Create a new virtual environment and activate it:

    python3 -m venv .venv
    source .venv/bin/activate

On Windows:

  1. Create a new virtual environment and activate it:

    python -m venv .venv
    .venv\Scripts\activate

Install the Requirements

  1. Install the necessary packages:

    pip install -r requirements.txt

Run the FastAPI Application

  1. Start the FastAPI app:

    # On Linux/MacOS :
    python3 main.py 
    
    # On Windows :
    python main.py

Run the Streamlit Frontend

  1. Launch the Streamlit interface:

    streamlit run streamlit_interface.py