Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Unified Diff: heuristics/distillable/server.py

Issue 1808503002: Update distillability modeling scripts to predict long articles (Closed) Base URL: git@github.com:chromium/dom-distiller.git@ml-visible
Patch Set: update docs Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « heuristics/distillable/get_screenshots.py ('k') | heuristics/distillable/write_features_csv.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: heuristics/distillable/server.py
diff --git a/heuristics/distillable/server.py b/heuristics/distillable/server.py
index ce50876b11129537c8442fc0a13eb76507db9b7e..d3cb91e9d2fad5d35249ef7f1cb6884e5056a2b8 100755
--- a/heuristics/distillable/server.py
+++ b/heuristics/distillable/server.py
@@ -182,7 +182,7 @@ class Service(object):
if __name__ == '__main__':
parser = argparse.ArgumentParser()
- parser.add_argument('--data-dir')
+ parser.add_argument('--data-dir', required=True)
options = parser.parse_args()
service = Service(options.data_dir)
conf = {
« no previous file with comments | « heuristics/distillable/get_screenshots.py ('k') | heuristics/distillable/write_features_csv.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698