asrcoddeploy commited on
Commit
884312d
·
verified ·
1 Parent(s): 73cdf45

Rename api.py to app.py

Browse files
Files changed (1) hide show
  1. api.py → app.py +2 -1
api.py → app.py RENAMED
@@ -1,6 +1,7 @@
1
  from fastapi import FastAPI
2
  import gzip
3
  import pickle
 
4
 
5
  app = FastAPI()
6
 
@@ -34,7 +35,7 @@ def recommend(anime_name):
34
 
35
  @app.get("/")
36
  def home():
37
- return {"message": "Anime API running"}
38
 
39
 
40
  @app.get("/recommend")
 
1
  from fastapi import FastAPI
2
  import gzip
3
  import pickle
4
+ import uvicorn
5
 
6
  app = FastAPI()
7
 
 
35
 
36
  @app.get("/")
37
  def home():
38
+ return {"message": "Anime Recommendation API is running 🚀"}
39
 
40
 
41
  @app.get("/recommend")