wt002 commited on
Commit
0f88890
·
verified ·
1 Parent(s): a625210

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -354,7 +354,7 @@ class ImageAnalysisTool(Tool):
354
  # or an instance attribute if it could vary per instance.
355
  # For this example, we'll keep it within the _run method for directness.
356
 
357
- def _run(self, image_url: str) -> str:
358
  """
359
  Executes the image analysis by sending the image URL to the Hugging Face API.
360
  """
 
354
  # or an instance attribute if it could vary per instance.
355
  # For this example, we'll keep it within the _run method for directness.
356
 
357
+ def forward(self, image_url: str) -> str:
358
  """
359
  Executes the image analysis by sending the image URL to the Hugging Face API.
360
  """