Update app.py
Browse files
app.py
CHANGED
@@ -25,6 +25,10 @@ from langchain_community.embeddings import HuggingFaceEmbeddings
|
|
25 |
from langchain_community.embeddings import SentenceTransformerEmbeddings
|
26 |
|
27 |
|
|
|
|
|
|
|
|
|
28 |
|
29 |
import nest_asyncio
|
30 |
nest_asyncio.apply()
|
|
|
25 |
from langchain_community.embeddings import SentenceTransformerEmbeddings
|
26 |
|
27 |
|
28 |
+
torch.cuda.empty_cache()
|
29 |
+
|
30 |
+
|
31 |
+
|
32 |
|
33 |
import nest_asyncio
|
34 |
nest_asyncio.apply()
|