https://github.com/codewithcharan/automatic-language-detection
https://github.com/codewithcharan/automatic-language-detection
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/codewithcharan/automatic-language-detection
- Owner: CodeWithCharan
- Created: 2024-05-17T18:04:26.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-18T14:25:13.000Z (about 2 years ago)
- Last Synced: 2025-04-03T03:42:46.860Z (about 1 year ago)
- Language: Jupyter Notebook
- Size: 961 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Automatic Language Detection
To access the application through FastAPI's Swagger UI: https://automatic-language-detection-app.onrender.com/docs
To access the application API endpoint, use [Postman](https://www.postman.com/) and paste the URL: https://automatic-language-detection-app.onrender.com/predict
## Docker
1. Pull the docker image:
```bash
docker pull codewithcharan/language-detection-app:latest
```
2. Run the docker image:
```bash
docker run -p 80:80 codewithcharan/language-detection-app:latest
```
3. Once the Docker container is running, the application will be accessible at:
- `http://localhost/docs`
- `http://127.0.0.1/docs`
- `YourIPv4Address/docs`
## Git
1. Clone the repository:
```bash
git clone https://github.com/CodeWithCharan/Automatic-Language-Detection.git
```
2. Create a `virtual environment` (optional): [Virtual Environment Set Up](https://github.com/CodeWithCharan/virtual-env-setup)
3. Install the required dependencies:
```bash
pip install -r requirements.txt
```
4. Run the main.py:
```bash
cd app
```
```bash
uvicorn main:app --reload
```
5. After running the app.py, it will be available at:
- `http://127.0.0.1:8000/docs`
- `http://localhost:8000/docs`
## OUTPUT SCREENS
In FastAPI's Swagger UI:


In Postman:
