Spaces:
Sleeping
Sleeping
IdlessChaye
Chayezi
commited on
添加Windows bat文件以快速打开 (#12)
Browse files* Add a windows bat file to open chatgpt website quickly.
* 使用windows默认浏览器登录
---------
Co-authored-by: Chayezi <9416226+chayezi@user.noreply.gitee.com>
- chatgpt - windows.bat +14 -0
chatgpt - windows.bat
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@echo off
|
2 |
+
echo Opening ChuanhuChatGPT...
|
3 |
+
|
4 |
+
REM Open powershell via bat
|
5 |
+
start powershell.exe -NoExit -Command "python path\to\ChuanhuChatbot.py"
|
6 |
+
|
7 |
+
REM The web page can be accessed with delayed start http://127.0.0.1:7860/
|
8 |
+
ping -n 5 127.0.0.1>nul
|
9 |
+
|
10 |
+
REM access chargpt via your browser (default microsoft edge browser)
|
11 |
+
start microsoft-edge:http://127.0.0.1:7860/
|
12 |
+
|
13 |
+
|
14 |
+
echo Finished opening ChuanhuChatGPT (http://127.0.0.1:7860/).
|