Spaces:
Sleeping
Sleeping
Zeggai Abdellah
commited on
Commit
·
4222139
1
Parent(s):
c181ce0
rempve nest_asyncio
Browse files- prepare_env.py +1 -2
prepare_env.py
CHANGED
|
@@ -17,8 +17,7 @@ from langchain_google_genai import ChatGoogleGenerativeAI
|
|
| 17 |
from llama_index.core.tools import FunctionTool
|
| 18 |
from llama_index.core.schema import TextNode
|
| 19 |
|
| 20 |
-
|
| 21 |
-
nest_asyncio.apply()
|
| 22 |
|
| 23 |
def setup_models():
|
| 24 |
"""Initialize embedding model and LLM"""
|
|
|
|
| 17 |
from llama_index.core.tools import FunctionTool
|
| 18 |
from llama_index.core.schema import TextNode
|
| 19 |
|
| 20 |
+
|
|
|
|
| 21 |
|
| 22 |
def setup_models():
|
| 23 |
"""Initialize embedding model and LLM"""
|