Paridhim commited on
Commit
315b7cf
·
verified ·
1 Parent(s): d5c23c1

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -24,7 +24,7 @@ llm = CTransformers(
24
  app = FastAPI()
25
 
26
 
27
- @app.post("/")
28
  async def generate_text(request: Request):
29
  raw_data = await request.body() # Get the raw body data from the request
30
  prompt = raw_data.decode('utf-8')
 
24
  app = FastAPI()
25
 
26
 
27
+ @app.post("//llm_on_cpu")
28
  async def generate_text(request: Request):
29
  raw_data = await request.body() # Get the raw body data from the request
30
  prompt = raw_data.decode('utf-8')