Akul commited on
Commit
869a9b8
1 Parent(s): ec3f1a8

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +4 -0
main.py CHANGED
@@ -52,3 +52,7 @@ def generate(item: Item):
52
  async def generate_text(item: Item):
53
  return {"response": generate(item)}
54
 
 
 
 
 
 
52
  async def generate_text(item: Item):
53
  return {"response": generate(item)}
54
 
55
+ @app.get("/api/ping")
56
+ async def ping(request: Request):
57
+ return "pong"
58
+