A full-stack web application that translates Hindi text into English, Tamil, and Bengali using a FastAPI backend and an interactive Streamlit frontend.
https://hdbcqj9nrnpwk8qpzdvzkr.streamlit.app/
https://svcore-ai-translation-api.onrender.com
https://svcore-ai-translation-api.onrender.com/docs
-
Translate Hindi text into:
- English
- Tamil
- Bengali
-
FastAPI REST API backend
-
Interactive Streamlit user interface
-
Real-time translation requests
-
Character counter
-
Loading spinner
-
Clear button
-
Error handling
-
Modular project structure
-
Render deployment support
-
Streamlit Community Cloud deployment
-
Responsive multi-column translation display
TASK/
├── backend/
│ ├── main.py
│ └── requirements.txt
│
├── frontend/
│ ├── app.py
│ └── requirements.txt
│
└── docs/
└── README.md
- Python
- FastAPI
- Pydantic
- Uvicorn
- Deep Translator
- Streamlit
- Requests
git clone https://github.com/Shadow-linux-png/SVCORE-AI-.git
cd SVCORE-AI-cd backendpython -m venv venv
venv\Scripts\activatepython -m venv venv
source venv/bin/activatepip install -r requirements.txtuvicorn main:app --reload --port 8000Backend runs on:
http://localhost:8000
Swagger Documentation:
http://localhost:8000/docs
cd frontendpython -m venv venv
venv\Scripts\activatepython -m venv venv
source venv/bin/activatepip install -r requirements.txtstreamlit run app.pyApplication runs on:
http://localhost:8501
POST /translate{
"text": "हेलो"
}{
"english": "Hello",
"tamil": "ஹலோ",
"bengali": "হ্যালো"
}मेरा नाम आर्यन है
English : My name is Aryan
Tamil : என் பெயர் ஆர்யன்
Bengali : আমার নাম আর্যন
Create a new Web Service.
backend
pip install -r requirements.txtuvicorn main:app --host 0.0.0.0 --port $PORTAfter deployment:
https://your-app-name.onrender.com
https://your-app-name.onrender.com/docs
Update the backend URL inside app.py:
FASTAPI_URL = "https://your-render-url.onrender.com"Deploy using:
- Repository: GitHub Repository
- Branch: main
- Main File Path:
frontend/app.py
This project demonstrates:
- REST API development using FastAPI
- API integration using Requests
- Frontend development using Streamlit
- Request and response handling
- Backend and frontend separation
- Deployment of Python applications
- Cloud deployment using Render and Streamlit
- Integration of multilingual translation services
- Building production-ready AI-powered web applications
Aryan Shukla B.Tech CSE (AI/ML) Student
- Python
- FastAPI
- Machine Learning
- Retrieval-Augmented Generation (RAG)
- AI Applications
- Backend Development
https://github.com/Shadow-linux-png
https://www.linkedin.com/in/aryan-shukla-3821b135a/
https://auto-repo-shine.lovable.app/
⭐ If you found this project useful, consider giving the repository a star.