mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-06-02 18:34:03 +08:00
[Bug]: IndentationError: unindent does not match any outer indentatio… (#1579)
### What problem does this PR solve? _Briefly describe what this PR aims to solve. Include background context that will help reviewers understand the purpose of the PR._ ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) [Bug]: IndentationError: unindent does not match any outer indentation level #1569
This commit is contained in:
parent
58e95f76c1
commit
b54d5807f3
@ -57,8 +57,8 @@ class DuckDuckGo(ComponentBase, ABC):
|
|||||||
duck_res = [{"content": '<a href="' + i["url"] + '">' + i["title"] + '</a> ' + i["body"]} for i in
|
duck_res = [{"content": '<a href="' + i["url"] + '">' + i["title"] + '</a> ' + i["body"]} for i in
|
||||||
ddgs.news(ans, max_results=self._param.top_n)]
|
ddgs.news(ans, max_results=self._param.top_n)]
|
||||||
|
|
||||||
if not duck_res:
|
if not duck_res:
|
||||||
return DuckDuckGo.be_output("")
|
return DuckDuckGo.be_output("")
|
||||||
|
|
||||||
df = pd.DataFrame(duck_res)
|
df = pd.DataFrame(duck_res)
|
||||||
if DEBUG: print(df, ":::::::::::::::::::::::::::::::::")
|
if DEBUG: print(df, ":::::::::::::::::::::::::::::::::")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user