Spaces:
Sleeping
Sleeping
Stefano Fiorucci
commited on
Commit
•
a251941
1
Parent(s):
a066522
bugfix
Browse files
app_utils/backend_utils.py
CHANGED
@@ -5,7 +5,7 @@ from haystack.pipelines import ExtractiveQAPipeline
|
|
5 |
from haystack.nodes import FARMReader
|
6 |
import streamlit as st
|
7 |
|
8 |
-
from config import (INDEX_DIR, RETRIEVER_MODEL, RETRIEVER_MODEL_FORMAT,
|
9 |
READER_MODEL, READER_CONFIG_THRESHOLD, QUESTIONS_PATH)
|
10 |
|
11 |
# cached to make index and models load only at start
|
|
|
5 |
from haystack.nodes import FARMReader
|
6 |
import streamlit as st
|
7 |
|
8 |
+
from app_utils.config import (INDEX_DIR, RETRIEVER_MODEL, RETRIEVER_MODEL_FORMAT,
|
9 |
READER_MODEL, READER_CONFIG_THRESHOLD, QUESTIONS_PATH)
|
10 |
|
11 |
# cached to make index and models load only at start
|