Update app.py
Browse files
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)
|