jonathanjordan21 commited on
Commit
d728235
1 Parent(s): 9833ff2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ async def predict(inp: InputModel):
45
 
46
 
47
  @app.post("/predict_list")
48
- async def predict(inp: InputListModel):
49
  text_emb = model.encode(inp.contents, convert_to_tensor=True)
50
  summarize = model.encode(inp.keywords, convert_to_tensor=True)
51
 
 
45
 
46
 
47
  @app.post("/predict_list")
48
+ async def predict_list(inp: InputListModel):
49
  text_emb = model.encode(inp.contents, convert_to_tensor=True)
50
  summarize = model.encode(inp.keywords, convert_to_tensor=True)
51