Spaces:
Runtime error
Runtime error
dinhquangson
commited on
Commit
•
021bede
1
Parent(s):
05c83f3
Update app.py
Browse files
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:'
|
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():
|