dinhquangson commited on
Commit
cfb1119
1 Parent(s): 186fef7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -117,7 +117,7 @@ def search(prompt: str):
117
  )
118
  for hit in hits:
119
  print(hit.payload, "score:", hit.score)
120
- return {'detail': 'hit.payload', 'score:': hit.score}
121
 
122
  @app.get("/")
123
  def api_home():
 
117
  )
118
  for hit in hits:
119
  print(hit.payload, "score:", hit.score)
120
+ return hits
121
 
122
  @app.get("/")
123
  def api_home():