| import random | |
| import gradio as gr | |
| from rag_smolagent import SmolAgent | |
| from smolagents import GradioUI | |
| agent = SmolAgent() | |
| GradioUI(agent.agent, file_upload_folder='./test').launch() |
| import random | |
| import gradio as gr | |
| from rag_smolagent import SmolAgent | |
| from smolagents import GradioUI | |
| agent = SmolAgent() | |
| GradioUI(agent.agent, file_upload_folder='./test').launch() |