svjack commited on
Commit
a4ee626
·
1 Parent(s): 140455a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -1,5 +1,8 @@
1
- from haystack.nodes import FARMReader
2
  import os
 
 
 
 
3
  #question_reader_save_path = "/Users/svjack/temp/model/en_zh_question_reader_save_epc_2_spo"
4
  question_reader_save_path = "en_zh_question_reader_save_epc_2_spo"
5
  assert os.path.exists(question_reader_save_path)
 
 
1
  import os
2
+ os.system("pip install -U huggingface_hub")
3
+
4
+ from haystack.nodes import FARMReader
5
+
6
  #question_reader_save_path = "/Users/svjack/temp/model/en_zh_question_reader_save_epc_2_spo"
7
  question_reader_save_path = "en_zh_question_reader_save_epc_2_spo"
8
  assert os.path.exists(question_reader_save_path)