* Clean makefile / pyproject.toml / .github * new tests after * add back sqlalchemy * disable docs tests in CI * continue on error * correct continue on error * Remove all_docs test
5 lines
191 B
Python
5 lines
191 B
Python
from smolagents import CodeAgent, HfApiModel, GradioUI
|
|
|
|
agent = CodeAgent(tools=[], model=HfApiModel(), max_steps=4, verbosity_level=1)
|
|
|
|
GradioUI(agent, file_upload_folder="./data").launch()
|