-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(workflow): summarizer filters for text only input WIP (#134)
* feat(workflow): summarizer filters for text only input WIP * feat(workflow): summarizer filter fix * feat(workflow): summarizer filter fix * feat(workflow): summarizer filter fix * fix(workflow): does not error out if grep does not validate * fix(workflow): fix test * fix(workflow): install recent version of file command * fix(workflow): fix test * fix(config): updated summarizer image version * fix(workflow): cleanup
- Loading branch information
1 parent
3c1e0a8
commit e267362
Showing
7 changed files
with
27 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/bash | ||
|
||
run_program.sh 'python3 /usr/local/bin/bart-summarize.py ${input_file} ${output_dir}' /inputs /outputs ; | ||
run_program.sh 'if [ \$\(/usr/local/bin/file5.41 --mime --brief ${input_file} \| grep -c text\/plain \) -eq 1 ] \; then python3 /usr/local/bin/bart-summarize.py ${input_file} ${output_dir} \; fi' /inputs /outputs ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...iners/test/testdata/json_blob/bafkreibd4mqgydtbi5vuygtti2eiugyxiqjzwsaexvs7ofmqyrsmsvmosi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"contract": "0xbb2b8038a1640196fbe3e38816f3e67cba72d940", "token0Reserves": {"block17179339": 171.43612254, "block17179340": 171.43612254, "block17179341": 171.43612254, "block17179342": 171.43612254, "block17179343": 171.43612254, "block17179344": 171.43612254, "block17179345": 171.43612254, "block17179346": 171.43612254, "block17179347": 171.43612254, "block17179348": 171.43612254}, "token1Reserves": {"block17179339": 2627.167074480664, "block17179340": 2627.167074480664, "block17179341": 2627.167074480664, "block17179342": 2627.167074480664, "block17179343": 2627.167074480664, "block17179344": 2627.167074480664, "block17179345": 2627.167074480664, "block17179346": 2627.167074480664, "block17179347": 2627.167074480664, "block17179348": 2627.167074480664}, "token0ReservesUSD": {"block17179339": 4909105.078209809, "block17179340": 4909965.461030417, "block17179341": 4909212.575235665, "block17179342": 4909183.705340615, "block17179343": 4909295.434128495, "block17179344": 4909317.19916909, "block17179345": 4909515.75660146, "block17179346": 4909478.698571932, "block17179347": 4909478.698571932, "block17179348": 4909388.311871055}, "token1ReservesUSD": {"block17179339": 4909105.07820981, "block17179340": 4909965.461030417, "block17179341": 4909212.575235665, "block17179342": 4909183.705340615, "block17179343": 4909295.434128495, "block17179344": 4909317.19916909, "block17179345": 4909515.756601461, "block17179346": 4909478.6985719325, "block17179347": 4909478.6985719325, "block17179348": 4909388.3118710555}, "chainHeightRange": {"begin": 17179339, "end": 17179348}, "timestamp": 1683106583.0} |
This file was deleted.
Oops, something went wrong.