shriarul5273 commited on
Commit
501a7fa
1 Parent(s): 617e8a7

updated port

Browse files
Files changed (2) hide show
  1. README.md +4 -4
  2. app.py +1 -1
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 7000:7000 shriarul5273/robust_rgb-d_saliency_detection:latest
28
  ```
29
- Deployed app (in port 7000) http://localhost:7000
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 7000:7000 robust_rgb-d_saliency_detection:latest
42
  ```
43
- Deployed app (in port 7000) http://localhost:7000
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", server_port=7000)
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