Skip to content

Commit bfc35cc

Browse files
committed
Update: Post 7788->80
1 parent 3da4c9a commit bfc35cc

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

assets/logo.png

50.4 KB
Loading

docker-compose.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ services:
77
args:
88
TARGETPLATFORM: ${TARGETPLATFORM:-linux/amd64}
99
ports:
10-
- "7788:7788" # Gradio default port
11-
- "6080:6080" # noVNC web interface
12-
- "5901:5901" # VNC port
13-
- "9222:9222" # Chrome remote debugging port
10+
- "7788:80" # Gradio default port
11+
- "6080:6080" # noVNC web interface
12+
- "5901:5901" # VNC port
13+
- "9222:9222" # Chrome remote debugging port
1414
environment:
1515
- OPENAI_ENDPOINT=${OPENAI_ENDPOINT:-https://api.openai.com/v1}
1616
- OPENAI_API_KEY=${OPENAI_API_KEY:-}
@@ -36,7 +36,7 @@ services:
3636
volumes:
3737
- /tmp/.X11-unix:/tmp/.X11-unix
3838
restart: unless-stopped
39-
shm_size: '2gb'
39+
shm_size: "2gb"
4040
cap_add:
4141
- SYS_ADMIN
4242
security_opt:
@@ -47,4 +47,4 @@ services:
4747
test: ["CMD", "nc", "-z", "localhost", "5901"]
4848
interval: 10s
4949
timeout: 5s
50-
retries: 3
50+
retries: 3

webui.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1140,7 +1140,7 @@ def main():
11401140
config_dict = default_config()
11411141

11421142
demo = create_ui(config_dict, theme_name=args.theme)
1143-
demo.launch(server_name=args.ip, server_port=args.port, favicon_path="./assets/favicon.svg")
1143+
demo.launch(server_name=args.ip, server_port=args.port, favicon_path="./assets/logo.png")
11441144

11451145
if __name__ == '__main__':
11461146
main()

0 commit comments

Comments
 (0)