Skip to content

Commit

Permalink
Remove article section from launch_gradio_demo Interface (#728)
Browse files Browse the repository at this point in the history
  • Loading branch information
albertvillanova authored Feb 20, 2025
1 parent 0ff05a5 commit 4e5e212
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/smolagents/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ def launch_gradio_demo(tool: Tool):
`inputs` and `output_type`.
Args:
tool (`type`): The tool for which to launch the demo.
tool (`Tool`): The tool for which to launch the demo.
"""
try:
import gradio as gr
Expand Down Expand Up @@ -667,7 +667,6 @@ def tool_forward(*args, **kwargs):
inputs=gradio_inputs,
outputs=gradio_output,
title=tool.name,
article=tool.description,
description=tool.description,
api_name=tool.name,
).launch()
Expand Down

0 comments on commit 4e5e212

Please sign in to comment.