update port num

2024-04-22 13:19:55.349 Port 7860 is already in use
This commit is contained in:
HongCheng 2024-04-22 14:40:55 +09:00
parent 5d0f60478b
commit bb3baadb79

2
app.py
View File

@ -13,6 +13,6 @@ elif model == "EmoLLM_Model":
elif model == "Llama3_Model":
os.system("python download_model.py chg0901/EmoLLM-Llama3-8B-Instruct2.0")
# os.system('streamlit run web_demo-Llama3_online.py --server.address=0.0.0.0 --server.port 7860')
os.system('streamlit run web_demo-Llama3_online.py --server.address=0.0.0.0 --server.port 7860')
os.system('streamlit run web_demo-Llama3_online.py --server.address=0.0.0.0 --server.port 7968')
else:
print("Please select one model")