Spaces:
Sleeping
Sleeping
Update tools.py
Browse files21 unmodified lines2223242526272825 unmodified lines5455565758596021 unmodified linesself.api_url = api_urlprint("FileReaderTool initialized.")def __call__(self, task_id: str) -> str:file_url = f"{self.api_url}/files/{task_id}"print(f"FileReaderTool downloading from: {file_url}")try:25 unmodified linesself.api_url = api_urlprint("ImageReaderTool initialized.")def __call__(self, task_id: str) -> str:file_url = f"{self.api_url}/files/{task_id}"print(f"ImageReaderTool downloading from: {file_url}")try:21 unmodified lines2223242526272825 unmodified lines5455565758596021 unmodified linesself.api_url = api_urlprint("FileReaderTool initialized.")def forward(self, task_id: str) -> str:file_url = f"{self.api_url}/files/{task_id}"print(f"FileReaderTool downloading from: {file_url}")try:25 unmodified linesself.api_url = api_urlprint("ImageReaderTool initialized.")def forward(self, task_id: str) -> str:file_url = f"{self.api_url}/files/{task_id}"print(f"ImageReaderTool downloading from: {file_url}")try:
tools.py+2-2