H
commited on
Commit
·
7f58321
1
Parent(s):
a5da72c
Fix component debug (#1583)
Browse files### What problem does this PR solve?
#1582
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
graph/component/baidu.py
CHANGED
@@ -19,7 +19,7 @@ from functools import partial
|
|
19 |
import pandas as pd
|
20 |
import requests
|
21 |
import re
|
22 |
-
|
23 |
from graph.component.base import ComponentBase, ComponentParamBase
|
24 |
|
25 |
|
|
|
19 |
import pandas as pd
|
20 |
import requests
|
21 |
import re
|
22 |
+
from graph.settings import DEBUG
|
23 |
from graph.component.base import ComponentBase, ComponentParamBase
|
24 |
|
25 |
|
graph/component/duckduckgo.py
CHANGED
@@ -18,7 +18,7 @@ from abc import ABC
|
|
18 |
from functools import partial
|
19 |
from duckduckgo_search import DDGS
|
20 |
import pandas as pd
|
21 |
-
|
22 |
from graph.component.base import ComponentBase, ComponentParamBase
|
23 |
|
24 |
|
|
|
18 |
from functools import partial
|
19 |
from duckduckgo_search import DDGS
|
20 |
import pandas as pd
|
21 |
+
from graph.settings import DEBUG
|
22 |
from graph.component.base import ComponentBase, ComponentParamBase
|
23 |
|
24 |
|