Skip to content

Commit

Permalink
Update forte_examples to examples in nlp.py. (#168)
Browse files Browse the repository at this point in the history
Co-authored-by: Suqi Sun <[email protected]>
Co-authored-by: Hector <[email protected]>
  • Loading branch information
3 people authored Apr 30, 2021
1 parent 72ab664 commit d82383d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions simple-backend/nlpviewer_backend/handlers/nlp.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ def __load_eliza():
def __load_utterance_searcher():
if forte_installed:
try:
from forte_examples.clinical_pipeline.utterance_searcher import LastUtteranceSearcher
from examples.clinical_pipeline.utterance_searcher import LastUtteranceSearcher
from forte.data.readers import RawDataDeserializeReader
except ImportError:
logging.error(
"Additional Forte examples: "
"https://github.com/asyml/forte/tree/master/forte_examples "
"https://github.com/asyml/forte/tree/master/examples "
"needed to be installed to run this example.")
return None

Expand Down

0 comments on commit d82383d

Please sign in to comment.