This repository contains code for a FastAPI web application that detects whether a given URL is benign or potentially malicious using a pre-trained model. The application provides a user-friendly web interface powered by Gradio.
To see the demo of the web application in action, visit this link.
- Clone the Repository:
git clone https://github.com/sandunlakshan13/malicious-url-detection.git cd malicious-url-detection
- Navigate to the project directory and install the required dependencies by running:
pip install -r requirements.txt
- Run the Application:
uvicorn app:app --reload
- Once the server is running, open your web browser and go to http://localhost:8000 to access the web interface.
- This application utilizes a pre-trained model for malicious URL detection. The model is based on the kmack/malicious-url-detection model from the Hugging Face Transformers library.
- The application is designed to run locally, but it can be deployed to a server for production use.
For any questions or issues regarding the application, feel free to open an issue on GitHub.
This application was developed using FastAPI and Gradio.
The malicious URL detection model is based on kmack/malicious-url-detection from the Hugging Face Transformers library.