Skip to content

Commit

Permalink
fix: Remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
jhehemann committed Apr 27, 2024
1 parent 00fe3a5 commit 7b52684
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/jhehemann/customs/research/component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license: Apache-2.0
aea_version: '>=1.0.0, <2.0.0'
fingerprint:
__init__.py: bafybeidpcd7b3qvijj5ucmjcxvya4o5hbgetndu3siny7itumlfeekkkam
research.py: bafybeiao5jjsdoejxcfifkvvdxo2n5xcr4vz45rpmvb53y3654ctiusxle
research.py: bafybeiasjen4g45v6v62smjgybso6mmd43cxcjspfr7h6aydjlezgkia6u
fingerprint_ignore_patterns: []
entry_point: research.py
callable: run
Expand Down
3 changes: 1 addition & 2 deletions packages/jhehemann/customs/research/research.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
from readability import Document
from markdownify import markdownify as md
from openai import OpenAI
from tqdm import tqdm
from dateutil import parser

client: Optional[OpenAI] = None
Expand Down Expand Up @@ -786,7 +785,7 @@ def extract_html_texts(

# Process URLs in batches
for batch in process_in_batches(web_pages=web_pages):
for future, web_page in tqdm(batch, desc="Processing URLs"):
for future, web_page in batch:
if future is None:
print(f"Future for {web_page.url} is None.")
continue
Expand Down
2 changes: 1 addition & 1 deletion packages/packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"custom/napthaai/prediction_request_reasoning_claude/0.1.0": "bafybeihtx2cejxoy42jwk2i5m4evfzz537aic5njuawxnzdzwlo63kdduq",
"custom/napthaai/prediction_request_rag_claude/0.1.0": "bafybeickr32t7nmapuoymjyo3cf5rr2v2zapksxcivuqsgjr2gn6zo6y7y",
"custom/napthaai/prediction_request_rag_cohere/0.1.0": "bafybeie2qi27usujclcje524qu4w6iv3viouq3pxhs2yft3aw26nnerla4",
"custom/jhehemann/research/0.1.0": "bafybeifc6oqno3y6tyhxsgex2xj22c7qbhvhixss2gb22rtcit7kia32au",
"custom/jhehemann/research/0.1.0": "bafybeiefyidqedko6dpmd3nrmuugg64cxiw3a375yf4kfre2or3z5jggkm",
"custom/jhehemann/prediction_with_rules_and_report/0.1.0": "bafybeifslyiqjmfsc6usg3egrdovml2cf7e6wp6p55ge3fadtfem7xyrle",
"custom/jhehemann/infer_market_rules/0.1.0": "bafybeiab3q6h26mzniqu3ma4dirhm2csfjcsscreyr4g2cn3bw57eyaxv4",
"protocol/valory/acn_data_share/0.1.0": "bafybeih5ydonnvrwvy2ygfqgfabkr47s4yw3uqxztmwyfprulwfsoe7ipq",
Expand Down

0 comments on commit 7b52684

Please sign in to comment.