|
#!/bin/bash |
|
|
|
|
|
if command -v gnome-terminal &> /dev/null; then |
|
|
|
gnome-terminal --tab --title="Chat 1" --command="bash -c 'python3 source/firefox_server.py --port 5001 --profile /tmp/chat1'" |
|
|
|
|
|
gnome-terminal --tab --title="Chat 2" --command="bash -c 'python3 source/firefox_server.py --port 5002 --profile /tmp/chat2'" |
|
else |
|
|
|
|
|
mate-terminal --title="Chat 1" -e "bash -c 'python3 source/firefox_server.py --port 5001 --profile /tmp/chat1'" |
|
|
|
mate-terminal --title="Chat 2" -e "bash -c 'python3 source/firefox_server.py --port 5002 --profile /tmp/chat2'" |
|
fi |
|
python3 source/gpt_autoscript.py && fg |
|
|