Update app.py

This commit is contained in:
2026-09-07 14:56:26 +00:00
parent d0618e7d06
commit a4fb2e405d
+6 -4
View File
@@ -1,5 +1,7 @@
import json
from fastapi import FastAPI
with open("products.json","r") as f:
products = json.load(f)
print("products")
app = FastAPI()
@app.get("/")
def home():
return {"message": "Welcome to DemoTel Product Catalog"}