Spaces:
Sleeping
Sleeping
Tuchuanhuhuhu
commited on
Commit
•
4b845f9
1
Parent(s):
034aa5a
调整windows启动脚本为在默认浏览器中打开
Browse files- ChuanhuChatbot.py +1 -1
- chatgpt - windows.bat +2 -2
ChuanhuChatbot.py
CHANGED
@@ -160,7 +160,7 @@ with gr.Blocks(
|
|
160 |
value=hide_middle_chars(my_api_key),
|
161 |
type="password",
|
162 |
visible=not HIDE_MY_KEY,
|
163 |
-
label="API-Key
|
164 |
)
|
165 |
model_select_dropdown = gr.Dropdown(
|
166 |
label="选择模型", choices=MODELS, multiselect=False, value=MODELS[0]
|
|
|
160 |
value=hide_middle_chars(my_api_key),
|
161 |
type="password",
|
162 |
visible=not HIDE_MY_KEY,
|
163 |
+
label="API-Key",
|
164 |
)
|
165 |
model_select_dropdown = gr.Dropdown(
|
166 |
label="选择模型", choices=MODELS, multiselect=False, value=MODELS[0]
|
chatgpt - windows.bat
CHANGED
@@ -7,8 +7,8 @@ start powershell.exe -NoExit -Command "python ./ChuanhuChatbot.py"
|
|
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
|
11 |
-
start
|
12 |
|
13 |
|
14 |
echo Finished opening ChuanhuChatGPT (http://127.0.0.1:7860/).
|
|
|
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 default browser
|
11 |
+
start "" "http://127.0.0.1:7860/"
|
12 |
|
13 |
|
14 |
echo Finished opening ChuanhuChatGPT (http://127.0.0.1:7860/).
|