Skip to content

Commit

Permalink
Remove static HTML based webscrape (#930)
Browse files Browse the repository at this point in the history
  • Loading branch information
nihit authored Nov 6, 2024
1 parent 3561097 commit 1ffc02d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 256 deletions.
2 changes: 0 additions & 2 deletions src/autolabel/transforms/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from .serper_maps import SerperMaps
from .custom_api import CustomApi
from .webpage_transform import WebpageTransform
from .webpage_scrape import WebpageScrape
from .image import ImageTransform
from typing import Dict
from autolabel.transforms.schema import TransformType
Expand All @@ -18,7 +17,6 @@
TRANSFORM_REGISTRY = {
TransformType.PDF: PDFTransform,
TransformType.WEBPAGE_TRANSFORM: WebpageTransform,
TransformType.WEBPAGE_SCRAPE: WebpageScrape,
TransformType.IMAGE: ImageTransform,
TransformType.WEB_SEARCH_SERP_API: SerpApi,
TransformType.WEB_SEARCH_SERPER: SerperApi,
Expand Down
1 change: 0 additions & 1 deletion src/autolabel/transforms/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ class TransformType(str, Enum):
"""Enum containing all Transforms supported by autolabel"""

WEBPAGE_TRANSFORM = "webpage_transform"
WEBPAGE_SCRAPE = "webpage_scrape"
PDF = "pdf"
IMAGE = "image"
WEB_SEARCH_SERP_API = "web_search_serp_api"
Expand Down
166 changes: 0 additions & 166 deletions src/autolabel/transforms/webpage_scrape.py

This file was deleted.

87 changes: 0 additions & 87 deletions tests/unit/transforms/test_webpage_scrape.py

This file was deleted.

0 comments on commit 1ffc02d

Please sign in to comment.