Santhu976 commited on
Commit
f5cea99
·
verified ·
1 Parent(s): df2b196

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. app.py +1 -0
Dockerfile CHANGED
@@ -11,6 +11,6 @@ COPY . .
11
  RUN pip3 install -r requirements.txt
12
 
13
  # Define the command to run the Streamlit app on port 8501 and make it accessible externally
14
- CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.enableXsrfProtection=false"]
15
 
16
  # NOTE: Disable XSRF protection for easier external access in order to make batch predictions
 
11
  RUN pip3 install -r requirements.txt
12
 
13
  # Define the command to run the Streamlit app on port 8501 and make it accessible externally
14
+ CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.enableXsrfProtection=false"]
15
 
16
  # NOTE: Disable XSRF protection for easier external access in order to make batch predictions
app.py CHANGED
@@ -1,3 +1,4 @@
 
1
  import streamlit as st
2
  import pandas as pd
3
  import requests
 
1
+
2
  import streamlit as st
3
  import pandas as pd
4
  import requests