Spaces:
Sleeping
Sleeping
removed spaces
Browse files
app.py
CHANGED
|
@@ -7,7 +7,6 @@ import re
|
|
| 7 |
import json
|
| 8 |
import warnings
|
| 9 |
import mwclient
|
| 10 |
-
|
| 11 |
from llama_index.core.tools import FunctionTool
|
| 12 |
# from llama_index.llms.mistralai import MistralAI
|
| 13 |
# from llama_index.llms.google_genai import GoogleGenAI
|
|
@@ -17,7 +16,6 @@ from llama_index.readers.web import BeautifulSoupWebReader
|
|
| 17 |
from llama_index.tools.tavily_research import TavilyToolSpec
|
| 18 |
from llama_index.core.llms import ChatMessage, TextBlock, ImageBlock, AudioBlock
|
| 19 |
from llama_index.core.tools.ondemand_loader_tool import OnDemandLoaderTool
|
| 20 |
-
|
| 21 |
from pydantic.warnings import PydanticDeprecatedSince20, PydanticDeprecatedSince211
|
| 22 |
# Disable pydantic deprecation warnings
|
| 23 |
warnings.filterwarnings("ignore", category=PydanticDeprecatedSince20)
|
|
|
|
| 7 |
import json
|
| 8 |
import warnings
|
| 9 |
import mwclient
|
|
|
|
| 10 |
from llama_index.core.tools import FunctionTool
|
| 11 |
# from llama_index.llms.mistralai import MistralAI
|
| 12 |
# from llama_index.llms.google_genai import GoogleGenAI
|
|
|
|
| 16 |
from llama_index.tools.tavily_research import TavilyToolSpec
|
| 17 |
from llama_index.core.llms import ChatMessage, TextBlock, ImageBlock, AudioBlock
|
| 18 |
from llama_index.core.tools.ondemand_loader_tool import OnDemandLoaderTool
|
|
|
|
| 19 |
from pydantic.warnings import PydanticDeprecatedSince20, PydanticDeprecatedSince211
|
| 20 |
# Disable pydantic deprecation warnings
|
| 21 |
warnings.filterwarnings("ignore", category=PydanticDeprecatedSince20)
|