traversaal-ai commited on
Commit
ec17867
1 Parent(s): e133457

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  @app.get("/predict")
2
  async def read_root():
3
  return {"message": "Welcome to my FastAPI deployment on Hugging Face!"}
 
1
+ from fastapi import FastAPI
2
+
3
+ app = FastAPI()
4
  @app.get("/predict")
5
  async def read_root():
6
  return {"message": "Welcome to my FastAPI deployment on Hugging Face!"}