TymaaHammouda commited on
Commit
e5a79d2
·
verified ·
1 Parent(s): fac752d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -187,6 +187,7 @@ def NER(sentence, mode):
187
  json_short = distill_entities(output_list)
188
  return json_short
189
 
 
190
 
191
  # Paths expected by sinatools
192
  RELATION_MODEL_DIR = os.path.join(BASE_DIR, "relation_model")
 
187
  json_short = distill_entities(output_list)
188
  return json_short
189
 
190
+ BASE_DIR = os.path.expanduser("~/.sinatools")
191
 
192
  # Paths expected by sinatools
193
  RELATION_MODEL_DIR = os.path.join(BASE_DIR, "relation_model")