Spaces:
Runtime error
Runtime error
jiarongqiu commited on
Commit ·
017e7e6
1
Parent(s): 4836039
rm source
Browse files- service/api.py +1 -1
service/api.py
CHANGED
|
@@ -39,7 +39,7 @@ class API():
|
|
| 39 |
"description":doc.metadata.get('description_llm','')
|
| 40 |
})
|
| 41 |
context.append(doc.metadata.get('description',''))
|
| 42 |
-
yield json.dumps(source)
|
| 43 |
context = "\n".join(context)
|
| 44 |
answer = search_bot(query,context,stream=True)
|
| 45 |
text = ""
|
|
|
|
| 39 |
"description":doc.metadata.get('description_llm','')
|
| 40 |
})
|
| 41 |
context.append(doc.metadata.get('description',''))
|
| 42 |
+
# yield json.dumps(source)
|
| 43 |
context = "\n".join(context)
|
| 44 |
answer = search_bot(query,context,stream=True)
|
| 45 |
text = ""
|