Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,6 @@ import gradio as gr
|
|
3 |
import requests
|
4 |
import inspect
|
5 |
import pandas as pd
|
6 |
-
from smolagents import CodeAgent, HfApiModel, DuckDuckGoSearchTool, FinalAnswerTool
|
7 |
import os
|
8 |
import yaml
|
9 |
from tools_agent import ReverseTextTool, TableCommutativityTool, VegetableListTool, ExcelSumFoodTool
|
@@ -14,7 +13,7 @@ from smolagents import (
|
|
14 |
FinalAnswerTool,
|
15 |
PythonInterpreterTool,
|
16 |
InferenceClientModel,
|
17 |
-
HfApiModel
|
18 |
)
|
19 |
from huggingface_hub import login, InferenceClient
|
20 |
|
|
|
3 |
import requests
|
4 |
import inspect
|
5 |
import pandas as pd
|
|
|
6 |
import os
|
7 |
import yaml
|
8 |
from tools_agent import ReverseTextTool, TableCommutativityTool, VegetableListTool, ExcelSumFoodTool
|
|
|
13 |
FinalAnswerTool,
|
14 |
PythonInterpreterTool,
|
15 |
InferenceClientModel,
|
16 |
+
HfApiModel
|
17 |
)
|
18 |
from huggingface_hub import login, InferenceClient
|
19 |
|