sanjeevafk's picture
fix: update server script entry point to use main function
fa00a96
Raw
History Blame Contribute Delete
236 Bytes
# server/app.py
import sys
import os
sys.path.append(os.path.dirname(os.path.dirname(__file__)))
import uvicorn
from app import app
def main():
uvicorn.run(app, host="0.0.0.0", port=7860)
if __name__ == "__main__":
main()