Dmitry Beresnev commited on
Commit ·
cb0e852
1
Parent(s): e66b0a6
fix dockerfile
Browse filesFiles changed (3)
5 unmodified lines678910115 unmodified linesenableXsrfProtection = falsemaxUploadSize = 10maxMessageSize = 200[browser]gatherUsageStats = false5 unmodified lines6789101112135 unmodified linesenableXsrfProtection = falsemaxUploadSize = 10maxMessageSize = 200enableStaticServing = trueenableWebsocketCompression = false[browser]gatherUsageStats = false
4 unmodified lines567891015 unmodified lines2627282930314 unmodified linestesseract-ocr \tesseract-ocr-eng \libtesseract-dev \&& rm -rf /var/lib/apt/lists/*# Set working directory15 unmodified linesENV STREAMLIT_SERVER_PORT=7860ENV STREAMLIT_SERVER_ADDRESS=0.0.0.0ENV STREAMLIT_SERVER_HEADLESS=true# Health checkHEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health || exit 14 unmodified lines56789101115 unmodified lines27282930313233344 unmodified linestesseract-ocr \tesseract-ocr-eng \libtesseract-dev \curl \&& rm -rf /var/lib/apt/lists/*# Set working directory15 unmodified linesENV STREAMLIT_SERVER_PORT=7860ENV STREAMLIT_SERVER_ADDRESS=0.0.0.0ENV STREAMLIT_SERVER_HEADLESS=trueENV STREAMLIT_SERVER_ENABLE_CORS=falseENV STREAMLIT_SERVER_ENABLE_XSRF_PROTECTION=false# Health checkHEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health || exit 1
69 unmodified lines7071727374757669 unmodified linesuploaded_file = st.file_uploader("Upload portfolio screenshot (PNG, JPG, JPEG)",type=["png", "jpg", "jpeg"],help="Upload a screenshot of your portfolio with ticker symbols and amounts")if uploaded_file:69 unmodified lines707172737475767769 unmodified linesuploaded_file = st.file_uploader("Upload portfolio screenshot (PNG, JPG, JPEG)",type=["png", "jpg", "jpeg"],help="Upload a screenshot of your portfolio with ticker symbols and amounts",key="portfolio_uploader")if uploaded_file:
.streamlit/config.toml+2
Dockerfile+3
app.py+2-1