Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stanfordnlp/stanza.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
authorPeng Qi <qipeng@users.noreply.github.com>2019-01-31 05:24:01 +0300
committerPeng Qi <qipeng@users.noreply.github.com>2019-01-31 05:24:01 +0300
commitaac753d785a5598750f3634c1961627eb66c0f7a (patch)
tree8965351c7a5b2213f36c0d4ba14cb04848a155a4 /demo
parent9a2f1ef706ecd4dfc4ea97227df035cb1df0253d (diff)
Revert temporary fix for download logic
Diffstat (limited to 'demo')
-rw-r--r--demo/pipeline_demo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/pipeline_demo.py b/demo/pipeline_demo.py
index 16744f24..a021d2dd 100644
--- a/demo/pipeline_demo.py
+++ b/demo/pipeline_demo.py
@@ -13,7 +13,7 @@ if __name__ == '__main__':
# get arguments
parser = argparse.ArgumentParser()
parser.add_argument('-d', '--models_dir', help='location of models files | default: ~/stanfordnlp_resources',
- default=None)
+ default=DEFAULT_MODEL_DIR)
parser.add_argument('-l', '--lang', help='Demo language',
default="en")
parser.add_argument('-c', '--cpu', action='store_true', help='Use cpu as the device.')