初始化提交

This commit is contained in:
2024-08-13 09:37:23 +08:00
parent 4923337038
commit e112fa4e44
50 changed files with 1649 additions and 259 deletions
+3
View File
@@ -0,0 +1,3 @@
ENV_PHOENIX_HOST=0.0.0.0
ENV_PHOENIX_PORT=6006
PHOENIX_HOST_ROOT_PATH=./.phoenix/
+18
View File
@@ -0,0 +1,18 @@
import os
import phoenix as px
os.environ['PHOENIX_HOST'] = "0.0.0.0"
session = px.launch_app(use_temp_dir=False)
import msvcrt
def wait_for_keypress():
print("Press any key to continue...")
msvcrt.getch() # 等待按键
print("\nKey pressed!")
wait_for_keypress()
px.close_app()
+5
View File
@@ -0,0 +1,5 @@
SET ENV_PHOENIX_HOST=0.0.0.0
SET ENV_PHOENIX_PORT=6006
SET PHOENIX_HOST_ROOT_PATH=./.phoenix/
C:\Users\liuyue\AppData\Local\pypoetry\Cache\virtualenvs\app-pCyqx0Uo-py3.11\Scripts\python phoenixserver.py