Views
No views yet
vision-gradio-app/
├── model/
│ ├── model_def.py # CNN model architecture
│ └── model.pth # Trained weights ✅
├── train.py # Training script
├── app.py # Gradio interface ✅
├── requirements.txt # Python dependencies
├── Dockerfile # Docker container definition ✅
├── .dockerignore # Docker build optimization ✅
├── Instructions.txt # Detailed implementation guide
└── README.md # This filemodel/model_def.py)train.py)model/model.pthapp.py with Gradio interface1# Install dependencies
2pip install -r requirements.txt
3
4# Run the app
5python app.py1# Build the image
2docker build -t vision-gradio-app .
3
4# Run the container
5docker run -p 7860:7860 vision-gradio-app./build.sh1./build.sh --run
2# OR
3docker-compose up./test.sh./build.sh --push docker.io/your-username