Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -4,15 +4,14 @@ import requests
|
|
4 |
import inspect
|
5 |
import pandas as pd
|
6 |
from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel, OpenAIServerModel
|
|
|
7 |
from llama_index.core import (
|
8 |
VectorStoreIndex,
|
9 |
SimpleDirectoryReader,
|
10 |
Settings
|
11 |
)
|
12 |
from llama_index.llms.openai import OpenAI
|
13 |
-
from llama_index.settings import Settings
|
14 |
|
15 |
-
import os
|
16 |
|
17 |
class BasicAgent:
|
18 |
def __init__(self):
|
|
|
4 |
import inspect
|
5 |
import pandas as pd
|
6 |
from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel, OpenAIServerModel
|
7 |
+
|
8 |
from llama_index.core import (
|
9 |
VectorStoreIndex,
|
10 |
SimpleDirectoryReader,
|
11 |
Settings
|
12 |
)
|
13 |
from llama_index.llms.openai import OpenAI
|
|
|
14 |
|
|
|
15 |
|
16 |
class BasicAgent:
|
17 |
def __init__(self):
|