PWNAI is a Streamlit-based web application designed to allow a single input and facilitate the comparison of various services based on their capabilities, costs, API documentation, and more. It allows users to select single or multiple services.
- Multi-select sidebar to choose services for comparison.
- Dataframe display of service comparisons.
note
This repo is under active development and not operational at time of writing.
PWNAI is an extension some of my prior "AI" which demostrate similar concepts at a smaller scale.
https://github.com/NoDataFound/hackGPT
https://github.com/NoDataFound/hackGPT/tree/main/hackerParents
https://github.com/NoDataFound/YouSureAboutThat
https://github.com/NoDataFound/SpeedCandidating live here: https://speedcandidating.org/
Hosted
- PwnAI reads from csv for selection of services.
Local
local model selection will allow pull from here: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard
Resources
To run the PWNAI app locally, you will need to have Python and Streamlit installed. Follow these steps to get started:
git clone https://github.com/NoDataFound/PwnAI.git
cd pwnai
Create a Virtual Environment
If you haven't already, install virtualenv via pip:
pip install virtualenv
Then, create a virtual environment in the project directory:
virtualenv venv
This command creates a virtual environment named venv. You can name it anything, but venv is a common convention.
Activate the Virtual Environment
Before installing dependencies and running the app, you need to activate the virtual environment:
On Windows:
cmd
Copy code
.\venv\Scripts\activate
On macOS and Linux:
source venv/bin/activate
You should now see (venv) at the beginning of your terminal line, indicating that the virtual environment is active.
Install Dependencies
With the virtual environment activated, install the project dependencies:
pip install -r requirements.txt
Running the pwnai.py
Once the setup is complete and all dependencies are installed, you can run the app with Streamlit:
streamlit run pwnai.py
To stop the app, use Ctrl + C in your terminal. To deactivate the virtual environment when you're done, simply type:
deactivate
This ensures that your Python environment returns to normal.