shriarul5273
commited on
Commit
•
501a7fa
1
Parent(s):
617e8a7
updated port
Browse files
README.md
CHANGED
@@ -24,9 +24,9 @@ https://huggingface.co/spaces/shriarul5273/Robust_RGB-D_Saliency_Detection
|
|
24 |
|
25 |
## Run container from Docker Hub Image
|
26 |
```
|
27 |
-
docker run -it -p
|
28 |
```
|
29 |
-
Deployed app (in port
|
30 |
|
31 |
## Build and run container locally
|
32 |
|
@@ -38,9 +38,9 @@ docker build . --tag robust_rgb-d_saliency_detection:latest
|
|
38 |
2. Run container from the
|
39 |
|
40 |
```
|
41 |
-
docker run -it -d -p
|
42 |
```
|
43 |
-
Deployed app (in port
|
44 |
|
45 |
|
46 |
|
|
|
24 |
|
25 |
## Run container from Docker Hub Image
|
26 |
```
|
27 |
+
docker run -it -p 7860:7860 shriarul5273/robust_rgb-d_saliency_detection:latest
|
28 |
```
|
29 |
+
Deployed app (in port 7860) http://localhost:7860
|
30 |
|
31 |
## Build and run container locally
|
32 |
|
|
|
38 |
2. Run container from the
|
39 |
|
40 |
```
|
41 |
+
docker run -it -d -p 7860:7860 robust_rgb-d_saliency_detection:latest
|
42 |
```
|
43 |
+
Deployed app (in port 7860) http://localhost:7860
|
44 |
|
45 |
|
46 |
|
app.py
CHANGED
@@ -71,5 +71,5 @@ outputs = gr.Image(type="pil", label="Saliency Map")
|
|
71 |
gr.Interface(inference, inputs=[input_1,input_2,input_3], outputs=outputs,
|
72 |
title=title,examples=examples,
|
73 |
description=description,
|
74 |
-
article=article,cache_examples=False).launch(server_name="0.0.0.0"
|
75 |
|
|
|
71 |
gr.Interface(inference, inputs=[input_1,input_2,input_3], outputs=outputs,
|
72 |
title=title,examples=examples,
|
73 |
description=description,
|
74 |
+
article=article,cache_examples=False).launch(server_name="0.0.0.0")
|
75 |
|