dify插件初步构建
This commit is contained in:
11
difyPlugin/run.py
Normal file
11
difyPlugin/run.py
Normal file
@@ -0,0 +1,11 @@
|
||||
"""启动脚本 - 从config读取配置"""
|
||||
import uvicorn
|
||||
from app.config import settings
|
||||
|
||||
if __name__ == "__main__":
|
||||
uvicorn.run(
|
||||
"app.main:app",
|
||||
host="0.0.0.0",
|
||||
port=settings.PORT,
|
||||
reload=settings.DEBUG
|
||||
)
|
||||
Reference in New Issue
Block a user