R
RunPod3mo ago
goku

streamlit app not loading up on CPU node

This is my dockerfile
FROM runpod/pytorch:2.2.0-py3.10-cuda12.1.1-devel-ubuntu22.04

WORKDIR /workspace

COPY requirements.txt .
RUN pip install -r requirements.txt
COPY app.py .
FROM runpod/pytorch:2.2.0-py3.10-cuda12.1.1-devel-ubuntu22.04

WORKDIR /workspace

COPY requirements.txt .
RUN pip install -r requirements.txt
COPY app.py .
works fine locally. The container loads up perfectly as you can see in the image, the streamlit UI is being displayed but it doesn't load up the app completely. Do I have to do anything to load up the UI properly with runpod? Let me know if you need any more details.
No description
1 Reply
ashleyk
ashleyk3mo ago
You should log this in the GitHub repo of the application. It's most likely a CORS issue.