moraxgiga commited on
Commit
36899d6
1 Parent(s): e617887

Update TextGen/router.py

Browse files
Files changed (1) hide show
  1. TextGen/router.py +0 -5
TextGen/router.py CHANGED
@@ -20,11 +20,6 @@ app.add_middleware(
20
  allow_headers=["*"],
21
  )
22
 
23
- @app.get("/", tags=["Home"])
24
- def api_home():
25
- return {'detail': 'Welcome to FastAPI TextGen Tutorial!'}
26
-
27
-
28
  @app.post("/api/generate", summary="Generate embeddings", tags=["Generate"])
29
  def inference(item: Validation):
30
  start_time = time.time()
 
20
  allow_headers=["*"],
21
  )
22
 
 
 
 
 
 
23
  @app.post("/api/generate", summary="Generate embeddings", tags=["Generate"])
24
  def inference(item: Validation):
25
  start_time = time.time()