LLMServer / main /app.py
AurelioAguirre's picture
New Dockerfile, still dummy app, testing minimal req file. Fixed REAMDME v5
8856ca8
raw
history blame
492 Bytes
import sys
print("Python Version:", sys.version)
print("Starting application...")
from fastapi import FastAPI
print("FastAPI imported successfully")
app = FastAPI()
print("FastAPI app created")
@app.get("/")
async def root():
return {"message": "Server is running"}
print("Routes defined")
if __name__ == "__main__":
print("Starting uvicorn server...")
import uvicorn
uvicorn.run(
"main.app:app",
host="0.0.0.0",
port=7680,
workers=1
)