Spaces:
Build error
Build error
Commit
·
d884ff4
1
Parent(s):
df08c9a
Disable spinners
Browse files
main.py
CHANGED
|
@@ -50,13 +50,13 @@ def fetch(documentations: List[Tuple[str, str, str]]):
|
|
| 50 |
return paths
|
| 51 |
|
| 52 |
|
| 53 |
-
@st.cache_resource
|
| 54 |
def document_store():
|
| 55 |
# We're going to store the processed documents in here
|
| 56 |
return MemoryDocumentStore()
|
| 57 |
|
| 58 |
|
| 59 |
-
@st.cache_resource
|
| 60 |
def index_files(files):
|
| 61 |
# We create some components
|
| 62 |
text_converter = TextFileToDocument(progress_bar=False)
|
|
|
|
| 50 |
return paths
|
| 51 |
|
| 52 |
|
| 53 |
+
@st.cache_resource(show_spinner=False)
|
| 54 |
def document_store():
|
| 55 |
# We're going to store the processed documents in here
|
| 56 |
return MemoryDocumentStore()
|
| 57 |
|
| 58 |
|
| 59 |
+
@st.cache_resource(show_spinner=False)
|
| 60 |
def index_files(files):
|
| 61 |
# We create some components
|
| 62 |
text_converter = TextFileToDocument(progress_bar=False)
|