Paridhim commited on
Commit
8bd982c
·
1 Parent(s): 85f13a7

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -10,7 +10,7 @@ llm_wrapper = LLMWrapper()
10
 
11
 
12
 
13
- @app.post("/")
14
  async def generate_text(request: Request):
15
  raw_data = await request.body() # Get the raw body data from the request
16
  prompt = raw_data.decode('utf-8')
 
10
 
11
 
12
 
13
+ @app.post("/llm_on_cpu")
14
  async def generate_text(request: Request):
15
  raw_data = await request.body() # Get the raw body data from the request
16
  prompt = raw_data.decode('utf-8')