mirror of
https://github.com/harry0703/MoneyPrinterTurbo.git
synced 2026-02-21 08:27:22 +08:00
update the startup script
This commit is contained in:
parent
5933a47620
commit
e6c5dd4146
@ -2,4 +2,12 @@
|
||||
set CURRENT_DIR=%CD%
|
||||
echo ***** Current directory: %CURRENT_DIR% *****
|
||||
set PYTHONPATH=%CURRENT_DIR%;%PYTHONPATH%
|
||||
|
||||
rem If you could not download the model from the official site, you can use the mirror site.
|
||||
rem Just remove the comment of the following line (remove rem).
|
||||
rem 如果你无法从官方网站下载模型,你可以使用镜像网站。
|
||||
rem 只需要移除下面一行的注释即可(移除 rem)。
|
||||
|
||||
rem set HF_ENDPOINT=https://hf-mirror.com
|
||||
|
||||
streamlit run .\webui\Main.py
|
||||
10
webui.sh
10
webui.sh
@ -1,4 +1,12 @@
|
||||
CURRENT_DIR=$(pwd)
|
||||
echo "***** Current directory: $CURRENT_DIR *****"
|
||||
export PYTHONPATH="${CURRENT_DIR}:$PYTHONPATH"
|
||||
streamlit run ./webui/Main.py
|
||||
|
||||
# If you could not download the model from the official site, you can use the mirror site.
|
||||
# Just remove the comment of the following line .
|
||||
# 如果你无法从官方网站下载模型,你可以使用镜像网站。
|
||||
# 只需要移除下面一行的注释即可。
|
||||
|
||||
# export HF_ENDPOINT=https://hf-mirror.com
|
||||
|
||||
streamlit run ./webui/Main.py --browser.serverAddress="0.0.0.0" --server.enableCORS=True --browser.gatherUsageStats=False
|
||||
Loading…
Reference in New Issue
Block a user