Skip to content

Commit

Permalink
style: docker support gradio print
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeyi-Lin committed Sep 6, 2024
1 parent c95bcce commit a8e84d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@ RUN echo "==> Clean up..." && \
# 指定工作目录

EXPOSE 7860
EXPOSE 8080

CMD [ "python3", "app.py", "--host", "0.0.0.0", "--port", "7860"]
CMD [ "python3", "-u", "app.py", "--host", "0.0.0.0", "--port", "7860"]
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,4 +643,4 @@ def change_image_kb(image_kb_option):
show_api=False,
favicon_path=os.path.join(root_dir, "assets/hivision_logo.png"),
root_path=args.root_path,
)
)

0 comments on commit a8e84d6

Please sign in to comment.