Skip to content

Commit

Permalink
Update port for streamlit demo app
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-XT committed Mar 30, 2024
1 parent 3b9175e commit cfe9e46
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
6 changes: 5 additions & 1 deletion .streamlit/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@ base="dark"
gatherUsageStats = false

[client]
toolbarMode="minimal"
toolbarMode="minimal"

[server]
port = 8502
headless = true
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ RUN git clone https://github.com/Josh-XT/DeepSeek-VL deepseek && \
COPY . .
ENV HOST 0.0.0.0
EXPOSE 8091
EXPOSE 8501
CMD streamlit run ui.py --server.headless true --server.port 8501 & uvicorn app:app --host 0.0.0.0 --port 8091 --workers 1 --proxy-headers
EXPOSE 8502
CMD streamlit run ui.py & uvicorn app:app --host 0.0.0.0 --port 8091 --workers 1 --proxy-headers
4 changes: 2 additions & 2 deletions cuda.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ RUN git clone https://github.com/Josh-XT/DeepSeek-VL deepseek && \
cd ..
COPY . .
EXPOSE 8091
EXPOSE 8501
CMD streamlit run ui.py --server.headless true --server.port 8501 & uvicorn app:app --host 0.0.0.0 --port 8091 --workers 1 --proxy-headers
EXPOSE 8502
CMD streamlit run ui.py & uvicorn app:app --host 0.0.0.0 --port 8091 --workers 1 --proxy-headers
2 changes: 1 addition & 1 deletion docker-compose-cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ services:
restart: unless-stopped
ports:
- "8091:8091"
- "8502:8501"
- "8502:8502"
volumes:
- ./models:/app/models
- ./outputs:/app/outputs
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-vulkan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ services:
restart: unless-stopped
ports:
- "8091:8091"
- "8502:8501"
- "8502:8502"
volumes:
- ./models:/app/models
- ./outputs:/app/outputs
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ services:
restart: unless-stopped
ports:
- "8091:8091"
- "8502:8501"
- "8502:8502"
volumes:
- ./models:/app/models
- ./outputs:/app/outputs
Expand Down
4 changes: 0 additions & 4 deletions launch.sh

This file was deleted.

4 changes: 2 additions & 2 deletions vulkan.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ RUN git clone https://github.com/Josh-XT/DeepSeek-VL deepseek && \
cd ..
COPY . .
EXPOSE 8091
EXPOSE 8501
CMD streamlit run ui.py --server.headless true --server.port 8501 & uvicorn app:app --host 0.0.0.0 --port 8091 --workers 1 --proxy-headers
EXPOSE 8502
CMD streamlit run ui.py & uvicorn app:app --host 0.0.0.0 --port 8091 --workers 1 --proxy-headers

0 comments on commit cfe9e46

Please sign in to comment.