Spaces:
Sleeping
Sleeping
dinhquangson
commited on
Commit
•
cfb1119
1
Parent(s):
186fef7
Update app.py
Browse files
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
|
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():
|