-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8fc0982
commit 5161104
Showing
3 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
Binary file added
BIN
+1.54 MB
submissions/Final Submission/Transfer Learning and Deployment/Deployment/Deployment.zip
Binary file not shown.
19 changes: 19 additions & 0 deletions
19
submissions/Final Submission/Transfer Learning and Deployment/Deployment/Readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Deployment | ||
|
||
## Docker-Compose | ||
There is a docker image available with this repository. that is road-detection. | ||
git clone this repo. and cd into deployment and run docker-compose up. | ||
open http://localhost:7860/ in you browser to see the app | ||
|
||
## Docker | ||
you can run the following command. This will download the image and deploy it. open http://localhost:7860/ in you browser to see the app. | ||
|
||
"docker run -p 7860:7860 -e SHARE=True ghcr.io/balnarendrasapa/road-detection:latest" | ||
|
||
## Python Virtual Environment | ||
cd into deployment directory. and run "python -m venv .venv" to create a virtual environment. | ||
run "pip install -r requirements.txt" | ||
run "python app.py" | ||
open http://localhost:7860/ in you browser to see the app | ||
|
||
[Youtube Presentation](https://youtu.be/bnyA-d6lZi8) |