浏览代码

[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
tags/v0.9.0
narendra 1年前
父节点
当前提交
b54d5807f3
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      graph/component/duckduckgo.py

+ 2
- 2
graph/component/duckduckgo.py 查看文件

@@ -57,8 +57,8 @@ class DuckDuckGo(ComponentBase, ABC):
duck_res = [{"content": '<a href="' + i["url"] + '">' + i["title"] + '</a> ' + i["body"]} for i in
ddgs.news(ans, max_results=self._param.top_n)]

if not duck_res:
return DuckDuckGo.be_output("")
if not duck_res:
return DuckDuckGo.be_output("")

df = pd.DataFrame(duck_res)
if DEBUG: print(df, ":::::::::::::::::::::::::::::::::")

正在加载...
取消
保存