dinhquangson commited on
Commit
021bede
1 Parent(s): 05c83f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -108,7 +108,7 @@ def search(prompt: str):
108
  )
109
  for hit in hits:
110
  print(hit.payload, "score:", hit.score)
111
- return {'detail': 'hit.payload', 'score:', hit.score}
112
 
113
  @app.get("/")
114
  def api_home():
 
108
  )
109
  for hit in hits:
110
  print(hit.payload, "score:", hit.score)
111
+ return {'detail': 'hit.payload', 'score:': hit.score}
112
 
113
  @app.get("/")
114
  def api_home():