Update requirements.txt

#385

This PR adds missing dependency of smolagents[gradio] to requirements.txt. When i clone the space locally, installed dependencies and run python app.py, I got the following error

(smolagents) vagrant@ubuntu-jammy:~/First_agent_template$ python app.py 
tool.py: 100%|███████████████████████████████████████████████████████████████████████| 635/635 [00:00<00:00, 1.38MB/s]
Traceback (most recent call last):
  File "/home/vagrant/First_agent_template/app.py", line 69, in <module>
    GradioUI(agent).launch()
    ^^^^^^^^^^^^^^^
  File "/home/vagrant/First_agent_template/Gradio_UI.py", line 183, in __init__
    raise ModuleNotFoundError(
ModuleNotFoundError: Please install 'gradio' extra to use the GradioUI: `pip install 'smolagents[gradio]'`
recluzegeek changed pull request status to open
recluzegeek changed pull request title from add-gradio-requirement to Update requirements.txt
Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment