Spaces:
Sleeping
Sleeping
Syed Junaid Iqbal
commited on
Commit
•
0787349
1
Parent(s):
cfb7816
Update app.py
Browse files
app.py
CHANGED
@@ -17,6 +17,7 @@ from langchain.prompts import PromptTemplate
|
|
17 |
from langchain import hub
|
18 |
import os
|
19 |
import glob
|
|
|
20 |
|
21 |
|
22 |
# TEXT LOADERS
|
@@ -188,6 +189,7 @@ def add_rounded_edges(image_path="./randstad_featuredimage.png", radius=30):
|
|
188 |
|
189 |
def main():
|
190 |
load_dotenv()
|
|
|
191 |
st.set_page_config(page_title="Chat with multiple Files",
|
192 |
page_icon=":books:")
|
193 |
st.write(css, unsafe_allow_html=True)
|
|
|
17 |
from langchain import hub
|
18 |
import os
|
19 |
import glob
|
20 |
+
import gc
|
21 |
|
22 |
|
23 |
# TEXT LOADERS
|
|
|
189 |
|
190 |
def main():
|
191 |
load_dotenv()
|
192 |
+
gc.collect()
|
193 |
st.set_page_config(page_title="Chat with multiple Files",
|
194 |
page_icon=":books:")
|
195 |
st.write(css, unsafe_allow_html=True)
|