Spaces:
Sleeping
Sleeping
Add command file for macOS (#219)
Browse files- chatgpt - macOS.command +7 -0
chatgpt - macOS.command
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
echo Opening ChuanhuChatGPT...
|
3 |
+
cd "$(dirname "${BASH_SOURCE[0]}")"
|
4 |
+
nohup python3 ChuanhuChatbot.py >/dev/null 2>&1 &
|
5 |
+
sleep 5
|
6 |
+
open http://127.0.0.1:7860
|
7 |
+
echo Finished opening ChuanhuChatGPT (http://127.0.0.1:7860/). If you kill ChuanhuChatbot, Use "pkill -f 'ChuanhuChatbot'" command in terminal.
|