Spaces:
Sleeping
Sleeping
Overhaul UI and add Google Drive input
Browse filesFiles changed (7)
- pyproject.toml+11
- requirements.txt+20
- src/inference.py+325-42
- src/ui.py+458-29
- src/utils.pyAdded+233
- tests/test_inference_smoke.py+74-1
- uv.lock+288
4 unmodified lines56789101 unmodified line1213144 unmodified linesreadme = "README.md"requires-python = ">=3.10"dependencies = ["grad-cam>=1.5.5","gradio>=6.5.1","numpy>=2.2.6",1 unmodified line"torch>=2.10.0","torchvision>=0.25.0",]4 unmodified lines5678910111 unmodified line131415161718192021222324254 unmodified linesreadme = "README.md"requires-python = ">=3.10"dependencies = ["gdown>=6.0.0","grad-cam>=1.5.5","gradio>=6.5.1","numpy>=2.2.6",1 unmodified line"torch>=2.10.0","torchvision>=0.25.0",][dependency-groups]dev = ["pytest>=9.0.3",][tool.pytest.ini_options]testpaths = ["tests"]python_files = ["test_*.py"]pythonpath = ["."]
12 unmodified lines13141516171819202122232421 unmodified lines4647484950513 unmodified lines55565758596024 unmodified lines858687888990115 unmodified lines2062072082092102118 unmodified lines22022122222322422516 unmodified lines24224324424524624715 unmodified lines2632642652662672687 unmodified lines27627727827928028128228311 unmodified lines29529629729829912 unmodified lines# starletteaudioop-lts==0.2.2 ; python_full_version >= '3.13'# via gradiobrotli==1.2.0# via gradiocertifi==2026.1.4# via# httpcore# httpxclick==8.3.1# via# typer21 unmodified lines# via gradiofilelock==3.20.3# via# huggingface-hub# torchfonttools==4.61.13 unmodified lines# gradio-client# huggingface-hub# torchgrad-cam==1.5.5# via xdl-colitis-demogradio==6.5.124 unmodified lines# via# anyio# httpxjinja2==3.1.6# via# gradio115 unmodified lines# via richpyparsing==3.3.2# via matplotlibpython-dateutil==2.9.0.post0# via# matplotlib8 unmodified lines# via# gradio# huggingface-hubrich==14.3.2# via typersafehttpx==0.1.716 unmodified lines# typersix==1.17.0# via python-dateutilstarlette==0.52.1# via# fastapi15 unmodified lines# xdl-colitis-demotqdm==4.67.3# via# grad-cam# huggingface-hubtriton==3.6.0 ; platform_machine == 'x86_64' and sys_platform == 'linux'7 unmodified linestyping-extensions==4.15.0# via# anyio# exceptiongroup# fastapi# gradio# gradio-client# huggingface-hub11 unmodified lines# pydantictzdata==2025.3 ; python_full_version < '3.11' or sys_platform == 'emscripten' or sys_platform == 'win32'# via pandasuvicorn==0.40.0# via gradio12 unmodified lines131415161718192021222324252627282921 unmodified lines515253545556573 unmodified lines616263646566676824 unmodified lines93949596979899115 unmodified lines2152162172182192202212228 unmodified lines23123223323423523623723816 unmodified lines25525625725825926026126215 unmodified lines2782792802812822832847 unmodified lines29229329429529629729829930030111 unmodified lines31331431531631731831912 unmodified lines# starletteaudioop-lts==0.2.2 ; python_full_version >= '3.13'# via gradiobeautifulsoup4==4.14.3# via gdownbrotli==1.2.0# via gradiocertifi==2026.1.4# via# httpcore# httpx# requestscharset-normalizer==3.4.7# via requestsclick==8.3.1# via# typer21 unmodified lines# via gradiofilelock==3.20.3# via# gdown# huggingface-hub# torchfonttools==4.61.13 unmodified lines# gradio-client# huggingface-hub# torchgdown==6.0.0# via xdl-colitis-demograd-cam==1.5.5# via xdl-colitis-demogradio==6.5.124 unmodified lines# via# anyio# httpx# requestsjinja2==3.1.6# via# gradio115 unmodified lines# via richpyparsing==3.3.2# via matplotlibpysocks==1.7.1# via requestspython-dateutil==2.9.0.post0# via# matplotlib8 unmodified lines# via# gradio# huggingface-hubrequests==2.33.1# via gdownrich==14.3.2# via typersafehttpx==0.1.716 unmodified lines# typersix==1.17.0# via python-dateutilsoupsieve==2.8.3# via beautifulsoup4starlette==0.52.1# via# fastapi15 unmodified lines# xdl-colitis-demotqdm==4.67.3# via# gdown# grad-cam# huggingface-hubtriton==3.6.0 ; platform_machine == 'x86_64' and sys_platform == 'linux'7 unmodified linestyping-extensions==4.15.0# via# anyio# beautifulsoup4# exceptiongroup# fastapi# gdown# gradio# gradio-client# huggingface-hub11 unmodified lines# pydantictzdata==2025.3 ; python_full_version < '3.11' or sys_platform == 'emscripten' or sys_platform == 'win32'# via pandasurllib3==2.7.0# via requestsuvicorn==0.40.0# via gradio
12345678910111 unmodified line13141516171818 unmodified lines3738394041424329 unmodified lines73747576777867 unmodified lines1461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801813 unmodified lines18518618718818919019119219395 unmodified lines28929029129229329474 unmodified lines3693703713723733744 unmodified lines3793803813823833846 unmodified lines3913923933943953963973983994004017 unmodified lines4094104114124134144152 unmodified lines4184194204214224234245 unmodified lines43043143243343443543643743843944043 unmodified lines4844854864874884894904915 unmodified lines4974984995005015025035044 unmodified lines50951051151251351425 unmodified lines5405415425435445455465471 unmodified line54955055155255355455555655755855956056118 unmodified lines580581582583from collections import Counter, defaultdictfrom dataclasses import dataclassfrom html import escapeimport osfrom pathlib import Pathfrom typing import Iterable, Iterator, List, Optional, Sequence, Tupleimport warningsimport numpy as npimport torchimport torch.nn.functional as F1 unmodified linefrom src.densenet import DenseNet121from src.preprocessing import preprocessCASE_CONFIGS = {"Multiclass (4 Classes)": {18 unmodified linesDEFAULT_CASE_NAME = "Multiclass (4 Classes)"CASE_OPTIONS = list(CASE_CONFIGS.keys())SUPPORTED_IMAGE_EXTENSIONS = {".jpg", ".jpeg", ".png", ".bmp", ".tif", ".tiff", ".webp"}DEFAULT_SAVE_DIR = "xdl_results"GRADCAM_TARGET_LAYER_OPTIONS = ("denseblock3",29 unmodified linesconfidence: floatdef _get_case_config(case_name: str) -> dict:return CASE_CONFIGS.get(case_name, CASE_CONFIGS[DEFAULT_CASE_NAME])67 unmodified linesdef _iter_image_paths(folder: Path) -> List[Path]:return sorted(pfor p in folder.rglob("*")if p.is_file() and p.suffix.lower() in SUPPORTED_IMAGE_EXTENSIONS)def _normalize_uploaded_paths(uploaded_files: Optional[Sequence[str] | str]) -> List[Path]:if uploaded_files is None:return []if isinstance(uploaded_files, str):raw_paths: Iterable[str] = [uploaded_files]else:raw_paths = uploaded_filescollected: List[Path] = []for raw_path in raw_paths:if not raw_path:continuepath = Path(str(raw_path))if path.is_dir():collected.extend(_iter_image_paths(path))elif path.is_file() and path.suffix.lower() in SUPPORTED_IMAGE_EXTENSIONS:collected.append(path)return sorted({p.resolve() for p in collected})def _resolve_input_images(uploaded_files: Optional[Sequence[str] | str], folder_path: str) -> Tuple[List[Path], str]:uploaded_paths = _normalize_uploaded_paths(uploaded_files)local_paths: List[Path] = []3 unmodified linesreturn [], f"Invalid folder: `{folder}`"local_paths = _iter_image_paths(folder)all_paths = sorted({p.resolve() for p in uploaded_paths + local_paths})if not all_paths:return [], "Upload a folder (or files) or provide a valid folder path."return all_paths, ""95 unmodified linesreturn out_pathdef _render_summary_html(*,case_name: str,74 unmodified lines)def batch_predict_with_xdl(uploaded_files,selected_case: str,4 unmodified linessave_xdl_results: bool,save_xdl_dir: str,gradcam_target_layer: str = DEFAULT_GRADCAM_TARGET_LAYER,):last_output = Nonefor payload in batch_predict_with_xdl_stream(6 unmodified linessave_xdl_results=save_xdl_results,save_xdl_dir=save_xdl_dir,gradcam_target_layer=gradcam_target_layer,):last_output = payloadif last_output is None:return _render_error_html("No output generated."), [], []return last_output7 unmodified linessave_xdl_results: bool,save_xdl_dir: str,gradcam_target_layer: str = DEFAULT_GRADCAM_TARGET_LAYER,) -> Iterator[Tuple[str, List[List[str]], List[Tuple[np.ndarray, str]]]]:case_state = _get_case_state(selected_case)model: DenseNet121 = case_state["model"]labels: List[str] = case_state["labels"]2 unmodified linesmodel_error: Optional[str] = case_state["model_error"]if model_error:yield _render_error_html(model_error), [], []returnmodel_device = next(model.parameters()).device5 unmodified linesif gradcam_target_layer not in GRADCAM_TARGET_LAYER_OPTIONS:gradcam_target_layer = DEFAULT_GRADCAM_TARGET_LAYERimage_paths, input_error = _resolve_input_images(uploaded_files, folder_path)if input_error:yield _render_error_html(input_error), [], []returnsave_dir_path: Optional[Path] = Nonesave_error = ""saved_count = 043 unmodified linessave_status=save_status,)# First UI update: classification results first.yield summary_initial, rows, []if not classified:return5 unmodified linesexcept RuntimeError as exc:xdl_error = str(exc)gallery_items: List[Tuple[np.ndarray, str]] = []xdl_error_count = 0if xdl is not None:try:4 unmodified linescam = xdl["GradCAM"](model=model, target_layers=[target_layer])for item in classified:try:image = Image.open(item.path).convert("RGB")input_tensor = val_transform(image).unsqueeze(0).to(model_device)25 unmodified linessmooth_overlay = xdl["cv2"].addWeighted(base_img_uint8, 0.5, smooth_heatmap, 0.5, 0)compact_panel = _build_compact_visual_row(base_img_uint8, gradcam_overlay, smooth_overlay)caption = f"{item.path.name} | {labels[item.pred_idx]} ({item.confidence:.3f})"gallery_items.append((compact_panel, caption))if save_dir_path is not None:_save_compact_panel(compact_panel, item.path, save_dir_path)1 unmodified lineexcept Exception as exc:xdl_error_count += 1rows.append([item.path.name, "xdl_error", labels[item.pred_idx], str(exc)])if xdl_error:xdl_status = f"Disabled: {xdl_error}"elif xdl_error_count:xdl_status = f"Completed with {xdl_error_count} overlay errors"else:xdl_status = f"Completed ({len(gallery_items)} overlays, layer: {gradcam_target_layer})"if save_xdl_results:if save_error:18 unmodified linesxdl_status=xdl_status,save_status=save_status,)yield summary_final, rows, gallery_items12345678910111213141 unmodified line1617181920212218 unmodified lines41424344454629 unmodified lines7677787980818283848586878889909167 unmodified lines1591601611621631641651661671681691701711721731741751763 unmodified lines18018118218318418518618718818919019119295 unmodified lines28828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239374 unmodified lines4684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275284 unmodified lines5335345355365375385396 unmodified lines5465475485495505515525535545555565577 unmodified lines5655665675685695705715722 unmodified lines5755765775785795805815 unmodified lines58758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565643 unmodified lines7007017027037047057067077087097107117127137147157167177187197205 unmodified lines7267277287297307317327337344 unmodified lines73974074174274374474574674774874975075175275375475575675775825 unmodified lines7847857867877887897907917927937947957967977987991 unmodified line80180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083118 unmodified lines850851852853854855856857858859860861862863864865866import base64from collections import Counter, defaultdictfrom dataclasses import dataclassfrom html import escapefrom io import BytesIOimport osfrom pathlib import Pathfrom typing import Any, Iterator, List, Optional, Sequence, Tupleimport warningsimport gradio as grimport numpy as npimport torchimport torch.nn.functional as F1 unmodified linefrom src.densenet import DenseNet121from src.preprocessing import preprocessfrom src.utils import download_google_drive_images, download_google_drive_folder_images, iter_image_paths, normalize_uploaded_pathsCASE_CONFIGS = {"Multiclass (4 Classes)": {18 unmodified linesDEFAULT_CASE_NAME = "Multiclass (4 Classes)"CASE_OPTIONS = list(CASE_CONFIGS.keys())DEFAULT_SAVE_DIR = "xdl_results"GRADCAM_TARGET_LAYER_OPTIONS = ("denseblock3",29 unmodified linesconfidence: float@dataclass(frozen=True)class XdlVisualItem:filename: strpredicted_label: strconfidence: floatoriginal: np.ndarraygradcam: np.ndarraysmoothgrad: np.ndarraydef _get_case_config(case_name: str) -> dict:return CASE_CONFIGS.get(case_name, CASE_CONFIGS[DEFAULT_CASE_NAME])67 unmodified linesdef _iter_image_paths(folder: Path) -> List[Path]:return iter_image_paths(folder)def _normalize_uploaded_paths(uploaded_files: Optional[Sequence[str] | str]) -> List[Path]:return normalize_uploaded_paths(uploaded_files)def _resolve_input_images(uploaded_files: Optional[Sequence[str] | str],folder_path: str,google_drive_link: str = "",) -> Tuple[List[Path], str]:uploaded_paths = _normalize_uploaded_paths(uploaded_files)local_paths: List[Path] = []3 unmodified linesreturn [], f"Invalid folder: `{folder}`"local_paths = _iter_image_paths(folder)drive_paths, drive_error = download_google_drive_images(google_drive_link or "")if drive_error:return [], drive_errorall_paths = sorted({p.resolve() for p in uploaded_paths + local_paths + drive_paths})if not all_paths:return [], "Upload a folder (or files), provide a valid folder path, or enter a public Google Drive link."return all_paths, ""95 unmodified linesreturn out_pathdef _as_uint8_rgb(image: np.ndarray) -> np.ndarray:arr = np.asarray(image)if arr.dtype != np.uint8:if np.issubdtype(arr.dtype, np.floating) and float(np.nanmax(arr)) <= 1.0:arr = arr * 255.0arr = np.clip(arr, 0, 255).astype(np.uint8)if arr.ndim == 2:arr = np.stack([arr, arr, arr], axis=-1)if arr.ndim == 3 and arr.shape[2] == 4:arr = arr[:, :, :3]return arrdef _image_to_data_uri(image: np.ndarray) -> str:buffer = BytesIO()Image.fromarray(_as_uint8_rgb(image)).save(buffer, format="PNG")encoded = base64.b64encode(buffer.getvalue()).decode("ascii")return f"data:image/png;base64,{encoded}"def _render_xdl_panel(title: str, image: np.ndarray, filename: str) -> str:title_html = escape(title)filename_html = escape(filename, quote=True)data_uri = _image_to_data_uri(image)return ("<div class='xdl-panel'>"f"<div class='xdl-panel-title'>{title_html}</div>"f"<img src='{data_uri}' alt='{title_html} for {filename_html}' />""</div>")def _render_xdl_report_html(items: List[XdlVisualItem], status: str) -> str:status_html = escape(status)guide_html = ("<div class='xdl-guide'>""<div class='xdl-guide-title'>How to Read the XDL Results</div>""<div class='xdl-guide-grid'>""<div><b>Original</b><span>Input image used by the classifier.</span></div>""<div><b>GradCAM</b><span>Highlights regions most associated with the predicted class.</span></div>""<div><b>SmoothGrad</b><span>Shows pixel-level sensitivity by averaging noisy gradients.</span></div>""</div>""</div>")if not items:return ("<div class='xdl-report'>"f"{guide_html}""<div class='xdl-empty'>""<div class='xdl-empty-title'>No Classified XDL Cards Yet</div>"f"<div>{status_html}</div>""</div>""</div>")cards = []total_items = len(items)for index, item in enumerate(items, start=1):filename = escape(item.filename)label = escape(item.predicted_label)confidence = float(np.clip(item.confidence * 100.0, 0.0, 100.0))cards.append("<article class='xdl-card'>""<div class='xdl-card-header'>""<div>"f"<div class='xdl-index'>Image {index} of {total_items}</div>"f"<div class='xdl-filename'>{filename}</div>""<div class='xdl-card-subtitle'>Classified image explanation</div>""</div>""<div class='xdl-meta'>"f"<span class='xdl-badge'>{label}</span>"f"<span class='xdl-confidence'>{confidence:.1f}% confidence</span>""</div>""</div>""<div class='xdl-acceptance-note'>Accepted for XDL review because this image passed the selected confidence threshold.</div>""<div class='xdl-panel-grid'>"f"{_render_xdl_panel('Original', item.original, item.filename)}"f"{_render_xdl_panel('GradCAM', item.gradcam, item.filename)}"f"{_render_xdl_panel('SmoothGrad', item.smoothgrad, item.filename)}""</div>""</article>")return ("<div class='xdl-report'>"f"{guide_html}""<div class='xdl-report-heading'>""<div>Classified Image XDL Cards</div>"f"<span>{len(items)} generated</span>""</div>""<div class='xdl-scroll'>"f"{''.join(cards)}""</div>"f"<div class='xdl-status'>{status_html}</div>""</div>")def _render_summary_html(*,case_name: str,74 unmodified lines)def _progress_percent(current: int, total: int) -> float:if total <= 0:return 0.0return float(np.clip((current / total) * 100.0, 0.0, 100.0))def _render_progress_section(title: str, message: str, current: int = 0, total: int = 0) -> str:percent = _progress_percent(current, total)count_html = f"<span>{current} / {total}</span>" if total > 0 else ""return ("<div class='progress-card'>""<div class='progress-card-head'>"f"<b>{escape(title)}</b>"f"{count_html}""</div>"f"<div class='progress-message'>{escape(message)}</div>""<div class='progress-track'>"f"<div class='progress-fill' style='width:{percent:.2f}%'></div>""</div>""</div>")def _render_processing_status_html(input_message: str = "Waiting for input...",input_current: int = 0,input_total: int = 0,xdl_message: str = "Waiting for classified images...",xdl_current: int = 0,xdl_total: int = 0,) -> str:return ("<div class='processing-status'>""<div class='processing-status-title'>Processing Status</div>""<div class='processing-grid'>"f"{_render_progress_section('Input Preparation', input_message, input_current, input_total)}"f"{_render_progress_section('XDL Generation', xdl_message, xdl_current, xdl_total)}""</div>""</div>")def _loaded_images_update(image_paths: List[Path]) -> Any:return _loaded_image_names_update([path.name for path in image_paths])def _loaded_image_names_update(image_names: List[str]) -> Any:names = list(dict.fromkeys(name for name in image_names if name))return gr.update(choices=names, value=names[0] if names else None, interactive=bool(names))def _empty_loaded_images_update() -> Any:return gr.update(choices=[], value=None, interactive=False)def batch_predict_with_xdl(uploaded_files,selected_case: str,4 unmodified linessave_xdl_results: bool,save_xdl_dir: str,gradcam_target_layer: str = DEFAULT_GRADCAM_TARGET_LAYER,google_drive_link: str = "",):last_output = Nonefor payload in batch_predict_with_xdl_stream(6 unmodified linessave_xdl_results=save_xdl_results,save_xdl_dir=save_xdl_dir,gradcam_target_layer=gradcam_target_layer,google_drive_link=google_drive_link,):last_output = payloadif last_output is None:return _render_error_html("No output generated."), "", "", _empty_loaded_images_update(), []return last_output7 unmodified linessave_xdl_results: bool,save_xdl_dir: str,gradcam_target_layer: str = DEFAULT_GRADCAM_TARGET_LAYER,google_drive_link: str = "",) -> Iterator[Tuple[str, str, str, Any, List[List[str]]]]:case_state = _get_case_state(selected_case)model: DenseNet121 = case_state["model"]labels: List[str] = case_state["labels"]2 unmodified linesmodel_error: Optional[str] = case_state["model_error"]if model_error:yield _render_error_html(model_error), "", "", _empty_loaded_images_update(), []returnmodel_device = next(model.parameters()).device5 unmodified linesif gradcam_target_layer not in GRADCAM_TARGET_LAYER_OPTIONS:gradcam_target_layer = DEFAULT_GRADCAM_TARGET_LAYERuploaded_paths = _normalize_uploaded_paths(uploaded_files)local_paths: List[Path] = []if folder_path:folder = Path(folder_path).expanduser().resolve()if not folder.exists() or not folder.is_dir():yield _render_error_html(f"Invalid folder: `{folder}`"), "", "", _loaded_images_update(uploaded_paths), []returnlocal_paths = _iter_image_paths(folder)base_paths = sorted({p.resolve() for p in uploaded_paths + local_paths})base_names = [path.name for path in base_paths]input_message = f"{len(base_paths)} uploaded images found." if base_paths else "Waiting for image input."yield ("",_render_processing_status_html(input_message, len(base_paths), len(base_paths)),_render_xdl_report_html([], "Waiting for classified images..."),_loaded_images_update(base_paths),[],)drive_paths: List[Path] = []if google_drive_link and google_drive_link.strip():for progress in download_google_drive_folder_images(google_drive_link):current_paths = sorted({p.resolve() for p in base_paths + progress.paths})current_names = base_names + (progress.filenames or [path.name for path in progress.paths])status_html = _render_processing_status_html(progress.message,progress.current,progress.total,)if progress.error:yield _render_error_html(progress.error), status_html, "", _loaded_image_names_update(current_names), []returnyield ("",status_html,_render_xdl_report_html([], "Waiting for classified images..."),_loaded_image_names_update(current_names),[],)if progress.done:drive_paths = progress.pathsimage_paths = sorted({p.resolve() for p in base_paths + drive_paths})if not image_paths:message = "Upload a folder (or files) or enter a public Google Drive folder link."yield (_render_error_html(message),_render_processing_status_html("No supported images found.", 0, 0),"",_empty_loaded_images_update(),[],)returninput_ready_status = f"Input ready. {len(image_paths)} supported images found."yield ("",_render_processing_status_html(input_ready_status, len(image_paths), len(image_paths), "Running classification..."),_render_xdl_report_html([], "Waiting for classification results..."),_loaded_images_update(image_paths),[],)save_dir_path: Optional[Path] = Nonesave_error = ""saved_count = 043 unmodified linessave_status=save_status,)# First UI update: classification results first while XDL cards are still being generated.yield (summary_initial,_render_processing_status_html(input_ready_status,len(image_paths),len(image_paths),initial_xdl_status,0,len(classified),),_render_xdl_report_html([], initial_xdl_status),_loaded_images_update(image_paths),rows,)if not classified:return5 unmodified linesexcept RuntimeError as exc:xdl_error = str(exc)visual_items: List[XdlVisualItem] = []xdl_error_count = 0xdl_processed = 0if xdl is not None:try:4 unmodified linescam = xdl["GradCAM"](model=model, target_layers=[target_layer])for item in classified:yield (summary_initial,_render_processing_status_html(input_ready_status,len(image_paths),len(image_paths),f"Generating overlays for {item.path.name}...",xdl_processed,len(classified),),_render_xdl_report_html(visual_items, f"Processing {xdl_processed} / {len(classified)} overlays..."),_loaded_images_update(image_paths),rows,)try:image = Image.open(item.path).convert("RGB")input_tensor = val_transform(image).unsqueeze(0).to(model_device)25 unmodified linessmooth_overlay = xdl["cv2"].addWeighted(base_img_uint8, 0.5, smooth_heatmap, 0.5, 0)compact_panel = _build_compact_visual_row(base_img_uint8, gradcam_overlay, smooth_overlay)visual_items.append(XdlVisualItem(filename=item.path.name,predicted_label=labels[item.pred_idx],confidence=item.confidence,original=base_img_uint8,gradcam=gradcam_overlay,smoothgrad=smooth_overlay,))if save_dir_path is not None:_save_compact_panel(compact_panel, item.path, save_dir_path)1 unmodified lineexcept Exception as exc:xdl_error_count += 1rows.append([item.path.name, "xdl_error", labels[item.pred_idx], str(exc)])xdl_processed += 1yield (summary_initial,_render_processing_status_html(input_ready_status,len(image_paths),len(image_paths),f"XDL overlays complete: {xdl_processed} / {len(classified)}",xdl_processed,len(classified),),_render_xdl_report_html(visual_items,f"Generated {len(visual_items)} / {len(classified)} XDL cards.",),_loaded_images_update(image_paths),rows,)if xdl_error:xdl_status = f"Disabled: {xdl_error}"elif xdl_error_count:xdl_status = f"Completed with {xdl_error_count} overlay errors"else:xdl_status = f"Completed ({len(visual_items)} overlays, layer: {gradcam_target_layer})"if save_xdl_results:if save_error:18 unmodified linesxdl_status=xdl_status,save_status=save_status,)yield (summary_final,_render_processing_status_html(input_ready_status,len(image_paths),len(image_paths),xdl_status,xdl_processed if xdl is not None else 0,len(classified),),_render_xdl_report_html(visual_items, xdl_status),_loaded_images_update(image_paths),rows,)
11 unmodified lines12131415161717 unmodified lines353637383940414243444546474849505152535455565758596061626364656662 unmodified lines1291301311321331343 unmodified lines1381391401411421431441458 unmodified lines15415515615715815916016116216316416516616716816941 unmodified lines2112122132142152162172182192202212222232242252262272282292302312321 unmodified line2342352362372382392402412422432 unmodified lines24624724824925025125225311 unmodified linesGRADCAM_TARGET_LAYER_OPTIONS,batch_predict_with_xdl_stream,)UI_DEFAULTS_PATH = Path(__file__).resolve().parent.parent / "config" / "ui_defaults.json"UI_DEFAULTS_FALLBACK = {17 unmodified linesCUSTOM_CSS = """.app-shell {max-width: 1120px;margin: 0 auto;}.hero {border: 1px solid #d1d5db;background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 45%, #f8fafc 100%);border-radius: 14px;padding: 16px 18px;margin-bottom: 12px;}.hero h1 {margin: 0;font-size: 24px;color: #0f172a;}.hero p {margin: 6px 0 0 0;color: #334155;font-size: 14px;}.panel {border: 1px solid #e2e8f0;border-radius: 12px;background: #ffffff;padding: 12px;}"""62 unmodified linesreturn gr.update(visible=is_enabled, interactive=is_enabled)def build_demo() -> gr.Blocks:ui_defaults = _load_ui_defaults()3 unmodified lines<style>{CUSTOM_CSS}</style><div class="app-shell"><div class="hero"><h1>XDL Colitis Workbench</h1><p>Detected device: <b>{DEVICE.type}</b>. Upload a directory or enter a local folder path, then run batch inference.</p></div></div>"""8 unmodified lineslabel="Problem Case",info="Choose the model group that matches your diagnosis scenario.",)upload_input = gr.File(file_count="directory",file_types=["image"],type="filepath",label="Upload Image Folder",)folder_path = gr.Textbox(label="Local Folder Path (Optional)",placeholder="/absolute/path/to/folder/with/images",)with gr.Column(scale=1, elem_classes=["panel"]):gr.Markdown("### 2) Inference Settings")41 unmodified linesvisible=bool(ui_defaults["save_xdl_results"]),interactive=bool(ui_defaults["save_xdl_results"]),)run_btn = gr.Button("Run Batch Inference", variant="primary")with gr.Row(elem_classes=["app-shell"]):with gr.Column(elem_classes=["panel"]):gr.Markdown("### 3) Results")summary_out = gr.HTML(label="Summary")table_out = gr.Dataframe(headers=["filename", "status", "predicted_label", "confidence_or_error"],datatype=["str", "str", "str", "str"],interactive=False,label="Per-image Results",)gallery_out = gr.Gallery(label="Compact XDL Results (Original | GradCAM | SmoothGrad)",columns=2,)save_xdl_results.change(fn=_toggle_save_dir,1 unmodified lineoutputs=[save_xdl_dir],)run_btn.click(fn=batch_predict_with_xdl_stream,inputs=[upload_input,selected_case,folder_path,threshold,2 unmodified linessave_xdl_results,save_xdl_dir,gradcam_target_layer,],outputs=[summary_out, table_out, gallery_out],)return demo.queue()11 unmodified lines1213141516171817 unmodified lines3637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440562 unmodified lines4684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065073 unmodified lines5115125135145155165175185195205215225235245255265275288 unmodified lines53753853954054154254354454554654754854955055155255355455555655755855956041 unmodified lines6026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316321 unmodified line6346356366376386396406416426436446456466476486492 unmodified lines65265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168211 unmodified linesGRADCAM_TARGET_LAYER_OPTIONS,batch_predict_with_xdl_stream,)from src.utils import clean_drive_downloads, normalize_uploaded_pathsUI_DEFAULTS_PATH = Path(__file__).resolve().parent.parent / "config" / "ui_defaults.json"UI_DEFAULTS_FALLBACK = {17 unmodified linesCUSTOM_CSS = """.app-shell {--xdl-bg: #ffffff;--xdl-surface: #f8fafc;--xdl-text: #0f172a;--xdl-muted: #475569;--xdl-border: #d1d5db;--xdl-primary: #0f766e;--xdl-primary-strong: #0f4f4a;--xdl-accent: #0ea5e9;--xdl-success-bg: #dcfce7;--xdl-success-text: #166534;--xdl-warning-bg: #fef3c7;--xdl-warning-text: #92400e;max-width: 1120px;margin: 0 auto;color: var(--xdl-text);}.hero {border: 1px solid var(--xdl-border);background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 44%, #ffffff 100%);border-radius: 18px;padding: 20px 22px;margin-bottom: 12px;color: var(--xdl-text);box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);}.hero-top {display: flex;justify-content: space-between;gap: 18px;align-items: flex-start;}.hero-kicker {color: var(--xdl-primary);font-size: 12px;font-weight: 900;letter-spacing: 0.12em;margin-bottom: 6px;text-transform: uppercase;}.hero h1 {margin: 0;font-size: 30px;line-height: 1.1;color: var(--xdl-text);}.hero p {margin: 8px 0 0 0;color: #334155;font-size: 15px;line-height: 1.5;max-width: 720px;}.hero-pills {display: flex;flex-wrap: wrap;justify-content: flex-end;gap: 8px;min-width: 220px;}.hero-pill {border: 1px solid #99f6e4;border-radius: 999px;background: #ffffff;color: var(--xdl-primary-strong);font-size: 12px;font-weight: 900;padding: 7px 10px;white-space: nowrap;}.panel {border: 1px solid #e2e8f0;border-radius: 12px;background: var(--xdl-bg);color: var(--xdl-text);padding: 12px;}.panel :is(h1, h2, h3, h4, h5, h6, p, label, span, th, td) {color: inherit;}.panel .secondary-wrap,.panel .prose,.panel .markdown {color: var(--xdl-text);}.xdl-report {display: flex;flex-direction: column;gap: 14px;color: var(--xdl-text);}.processing-status {border: 1px solid #dbeafe;background: #eff6ff;border-radius: 14px;color: var(--xdl-text);padding: 14px;margin: 12px 0;}.processing-status-title {font-size: 16px;font-weight: 800;margin-bottom: 10px;}.processing-grid {display: grid;grid-template-columns: repeat(2, minmax(0, 1fr));gap: 12px;}.progress-card {border: 1px solid #bfdbfe;border-radius: 12px;background: #ffffff;color: var(--xdl-text);padding: 12px;}.progress-card-head {display: flex;justify-content: space-between;gap: 12px;align-items: center;font-size: 14px;margin-bottom: 8px;}.progress-card-head span {color: #075985;font-weight: 800;}.progress-message {color: #334155;font-size: 13px;line-height: 1.4;margin-bottom: 10px;}.progress-track {height: 10px;border-radius: 999px;background: #dbeafe;overflow: hidden;}.progress-fill {height: 100%;border-radius: 999px;background: linear-gradient(90deg, var(--xdl-primary), var(--xdl-accent));transition: width 180ms ease;}.xdl-guide {border: 1px solid #bae6fd;background: #f0f9ff;border-radius: 12px;padding: 14px;color: var(--xdl-text);}.xdl-guide-title {font-size: 16px;font-weight: 700;color: var(--xdl-text);margin-bottom: 10px;}.xdl-guide-grid {display: grid;grid-template-columns: repeat(3, minmax(0, 1fr));gap: 10px;}.xdl-guide-grid div {border: 1px solid #dbeafe;background: var(--xdl-bg);color: var(--xdl-text);border-radius: 10px;padding: 10px;}.xdl-guide-grid b {display: block;color: #075985;font-size: 14px;margin-bottom: 4px;}.xdl-guide-grid span {display: block;color: #334155;font-size: 13px;line-height: 1.4;}.xdl-report-heading {display: flex;align-items: center;justify-content: space-between;gap: 12px;color: var(--xdl-text);font-size: 17px;font-weight: 700;}.xdl-report-heading span {border-radius: 999px;background: #e0f2fe;color: #075985;font-size: 12px;font-weight: 700;padding: 5px 10px;}.xdl-scroll {max-height: 760px;overflow-y: auto;padding-right: 8px;}.xdl-card {border: 1px solid #cbd5e1;border-radius: 16px;background: var(--xdl-bg);color: var(--xdl-text);box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);margin-bottom: 16px;padding: 16px;}.xdl-card-header {display: flex;justify-content: space-between;gap: 14px;align-items: flex-start;margin-bottom: 14px;}.xdl-filename {color: var(--xdl-text);font-size: 18px;font-weight: 800;word-break: break-word;}.xdl-card-subtitle {color: #64748b;font-size: 13px;margin-top: 3px;}.xdl-meta {display: flex;flex-wrap: wrap;justify-content: flex-end;gap: 8px;}.xdl-badge,.xdl-confidence {border-radius: 999px;font-size: 13px;font-weight: 800;padding: 7px 11px;white-space: nowrap;}.xdl-badge {background: var(--xdl-success-bg);color: var(--xdl-success-text);}.xdl-confidence {background: var(--xdl-warning-bg);color: var(--xdl-warning-text);}.xdl-index {color: var(--xdl-primary);font-size: 12px;font-weight: 900;letter-spacing: 0.08em;margin-bottom: 5px;text-transform: uppercase;}.xdl-acceptance-note {border-left: 3px solid var(--xdl-primary);background: #f0fdfa;border-radius: 10px;color: #334155;font-size: 13px;line-height: 1.4;margin: 12px 0 14px 0;padding: 9px 11px;}.xdl-panel-grid {display: grid;grid-template-columns: repeat(3, minmax(0, 1fr));gap: 12px;}.xdl-panel {border: 1px solid #e2e8f0;border-radius: 12px;background: var(--xdl-surface);color: var(--xdl-text);overflow: hidden;}.xdl-panel-title {background: #0f172a;color: #ffffff;font-size: 13px;font-weight: 800;letter-spacing: 0.02em;padding: 8px 10px;text-align: center;}.xdl-panel img {display: block;width: 100%;height: auto;background: #ffffff;}.xdl-empty {border: 1px dashed #cbd5e1;border-radius: 14px;background: var(--xdl-surface);color: var(--xdl-muted);padding: 24px;text-align: center;}.xdl-empty-title {color: var(--xdl-text);font-size: 16px;font-weight: 800;margin-bottom: 6px;}.xdl-status {color: var(--xdl-muted);font-size: 13px;text-align: right;}@media (max-width: 900px) {.hero-top {flex-direction: column;}.hero-pills {justify-content: flex-start;}.processing-grid,.xdl-guide-grid,.xdl-panel-grid {grid-template-columns: 1fr;}.xdl-card-header {flex-direction: column;}.xdl-meta {justify-content: flex-start;}}.action-stack {display: flex;flex-direction: column;gap: 8px;}.action-row {display: grid;grid-template-columns: minmax(0, 1fr) auto;gap: 8px;align-items: stretch;}.run-action button {font-weight: 900 !important;min-height: 44px;}.clean-action button {min-height: 44px;}.action-note {border: 1px solid #ccfbf1;border-radius: 10px;background: #f0fdfa;color: #0f4f4a;font-size: 12px;font-weight: 700;line-height: 1.35;padding: 9px 10px;}"""62 unmodified linesreturn gr.update(visible=is_enabled, interactive=is_enabled)def _loaded_images_from_upload(uploaded_files):image_paths = normalize_uploaded_paths(uploaded_files)names = [path.name for path in image_paths]stored_paths = [str(path) for path in image_paths]return gr.update(choices=names, value=names[0] if names else None, interactive=bool(names)), stored_pathsdef _reset_demo():clean_drive_downloads()ui_defaults = _load_ui_defaults()save_enabled = bool(ui_defaults["save_xdl_results"])return (ui_defaults["selected_case"],None,[],"",gr.update(choices=[], value=None, interactive=False),ui_defaults["confidence_threshold"],ui_defaults["smoothgrad_samples"],ui_defaults["smoothgrad_noise"],ui_defaults["gradcam_target_layer"],ui_defaults["save_xdl_results"],gr.update(value=ui_defaults["save_xdl_dir"],visible=save_enabled,interactive=save_enabled,),"","","",[],)def build_demo() -> gr.Blocks:ui_defaults = _load_ui_defaults()3 unmodified lines<style>{CUSTOM_CSS}</style><div class="app-shell"><div class="hero"><div class="hero-top"><div class="hero-copy"><div class="hero-kicker">Medical AI Explanation Demo</div><h1>XDL Colitis Workbench</h1><p>DenseNet-based colitis classification with GradCAM and SmoothGrad explanations. Upload a directory or use a public Google Drive folder link, then run batch inference.</p></div><div class="hero-pills"><span class="hero-pill">Device: {DEVICE.type}</span><span class="hero-pill">3 Case Modes</span><span class="hero-pill">Folder / Drive Input</span></div></div></div></div>"""8 unmodified lineslabel="Problem Case",info="Choose the model group that matches your diagnosis scenario.",)upload_input = gr.UploadButton(label="Select Image Folder",variant="secondary",file_count="directory",type="filepath",)google_drive_link = gr.Textbox(label="Google Drive Link (Optional)",placeholder="Public Google Drive folder link",)loaded_images = gr.Dropdown(choices=[],label="Loaded Images",info="Filenames detected from upload or Google Drive after processing starts.",interactive=False,)uploaded_files_state = gr.State([])folder_path = gr.State("")with gr.Column(scale=1, elem_classes=["panel"]):gr.Markdown("### 2) Inference Settings")41 unmodified linesvisible=bool(ui_defaults["save_xdl_results"]),interactive=bool(ui_defaults["save_xdl_results"]),)with gr.Column(elem_classes=["action-stack"]):with gr.Row(elem_classes=["action-row"]):run_btn = gr.Button("Run / Rerun Inference",variant="primary",elem_classes=["run-action"],)clean_btn = gr.Button("Clean", variant="secondary", elem_classes=["clean-action"])gr.HTML("<div class='action-note'>Runs classification first, then streams XDL overlays as each image finishes.</div>")with gr.Row(elem_classes=["app-shell"]):with gr.Column(elem_classes=["panel"]):gr.Markdown("### 3) Results")summary_out = gr.HTML(label="Summary")processing_status_out = gr.HTML(label="Processing Status")xdl_report_out = gr.HTML(label="Classified XDL Results")with gr.Accordion("Detailed Per-Image Table", open=False):table_out = gr.Dataframe(headers=["filename", "status", "predicted_label", "confidence_or_error"],datatype=["str", "str", "str", "str"],interactive=False,label="Per-image Results",)save_xdl_results.change(fn=_toggle_save_dir,1 unmodified lineoutputs=[save_xdl_dir],)upload_input.upload(fn=_loaded_images_from_upload,inputs=[upload_input],outputs=[loaded_images, uploaded_files_state],)run_btn.click(fn=batch_predict_with_xdl_stream,inputs=[uploaded_files_state,selected_case,folder_path,threshold,2 unmodified linessave_xdl_results,save_xdl_dir,gradcam_target_layer,google_drive_link,],outputs=[summary_out, processing_status_out, xdl_report_out, loaded_images, table_out],)clean_btn.click(fn=_reset_demo,inputs=[],outputs=[selected_case,upload_input,uploaded_files_state,google_drive_link,loaded_images,threshold,smoothgrad_samples,smoothgrad_noise,gradcam_target_layer,save_xdl_results,save_xdl_dir,summary_out,processing_status_out,xdl_report_out,table_out,],)return demo.queue()
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233from __future__ import annotations
import hashlibimport shutilimport zipfilefrom dataclasses import dataclassfrom pathlib import Pathfrom typing import Iterable, Iterator, List, Optional, Sequence, Tuplefrom urllib.parse import parse_qs, urlparse
SUPPORTED_IMAGE_EXTENSIONS = {".jpg", ".jpeg", ".png", ".bmp", ".tif", ".tiff", ".webp"}PROJECT_ROOT = Path(__file__).resolve().parent.parentDRIVE_CACHE_ROOT = PROJECT_ROOT / ".cache" / "xdl-colitis-demo" / "drive-downloads"
@dataclass(frozen=True)class DriveDownloadProgress: message: str current: int total: int paths: List[Path] filenames: List[str] done: bool = False error: str = ""
def iter_image_paths(folder: Path) -> List[Path]: return sorted( p for p in folder.rglob("*") if p.is_file() and p.suffix.lower() in SUPPORTED_IMAGE_EXTENSIONS )
def normalize_uploaded_paths(uploaded_files: Optional[Sequence[str] | str]) -> List[Path]: if uploaded_files is None: return []
if isinstance(uploaded_files, str): raw_paths: Iterable[str] = [uploaded_files] else: raw_paths = uploaded_files
collected: List[Path] = [] for raw_path in raw_paths: if not raw_path: continue path = Path(str(raw_path)) if path.is_dir(): collected.extend(iter_image_paths(path)) elif path.is_file() and path.suffix.lower() in SUPPORTED_IMAGE_EXTENSIONS: collected.append(path)
return sorted({p.resolve() for p in collected})
def parse_google_drive_link(link: str) -> Tuple[Optional[str], Optional[str]]: parsed = urlparse(link.strip()) host = parsed.netloc.lower() if "drive.google.com" not in host and "docs.google.com" not in host: return None, None
query_id = parse_qs(parsed.query).get("id", [None])[0] if query_id: return "file", query_id
parts = [part for part in parsed.path.split("/") if part] if "folders" in parts: idx = parts.index("folders") if idx + 1 < len(parts): return "folder", parts[idx + 1]
if "file" in parts and "d" in parts: idx = parts.index("d") if idx + 1 < len(parts): return "file", parts[idx + 1]
return None, None
def is_google_drive_link(link: str) -> bool: kind, drive_id = parse_google_drive_link(link) return bool(kind and drive_id)
def _cache_dir_for_link(link: str, cache_root: Path) -> Path: cache_key = hashlib.sha256(link.strip().encode("utf-8")).hexdigest()[:16] return cache_root / cache_key
def _extract_zip_files(folder: Path) -> None: for zip_path in sorted(folder.rglob("*.zip")): extract_dir = zip_path.with_suffix("") extract_dir.mkdir(parents=True, exist_ok=True) with zipfile.ZipFile(zip_path) as archive: for member in archive.infolist(): target = (extract_dir / member.filename).resolve() if not target.is_relative_to(extract_dir.resolve()): raise ValueError(f"Unsafe path in ZIP archive: {member.filename}") archive.extractall(extract_dir)
def download_google_drive_folder_images( link: str, cache_root: Path = DRIVE_CACHE_ROOT,) -> Iterator[DriveDownloadProgress]: cleaned_link = link.strip() if not cleaned_link: yield DriveDownloadProgress("", 0, 0, [], [], done=True) return
kind, drive_id = parse_google_drive_link(cleaned_link) if kind != "folder" or not drive_id: yield DriveDownloadProgress( "Google Drive link must be a public folder link. File or ZIP links are not supported here.", 0, 0, [], [], done=True, error="Google Drive link must be a public folder link. File or ZIP links are not supported here.", ) return
cache_dir = _cache_dir_for_link(cleaned_link, cache_root) complete_marker = cache_dir / ".download_complete" if complete_marker.exists(): cached_paths = iter_image_paths(cache_dir) if cached_paths: yield DriveDownloadProgress( f"Using cached Google Drive folder ({len(cached_paths)} images found).", len(cached_paths), len(cached_paths), cached_paths, [path.name for path in cached_paths], done=True, ) return
if cache_dir.exists(): shutil.rmtree(cache_dir) cache_dir.mkdir(parents=True, exist_ok=True)
try: import gdown
yield DriveDownloadProgress("Retrieving Google Drive folder contents...", 0, 0, [], []) drive_files = gdown.download_folder( id=drive_id, output=str(cache_dir), quiet=True, use_cookies=False, skip_download=True, ) image_files = [ item for item in drive_files if Path(str(item.local_path)).suffix.lower() in SUPPORTED_IMAGE_EXTENSIONS ] filenames = [Path(str(item.path)).name or Path(str(item.local_path)).name for item in image_files] total = len(image_files) if total == 0: message = "Google Drive folder did not contain any supported image files." yield DriveDownloadProgress(message, 0, 0, [], [], done=True, error=message) return
yield DriveDownloadProgress( f"Google Drive folder contains {total} supported images.", 0, total, iter_image_paths(cache_dir), filenames, )
for index, item in enumerate(image_files, start=1): local_path = Path(str(item.local_path)) local_path.parent.mkdir(parents=True, exist_ok=True) display_name = Path(str(item.path)).name or local_path.name yield DriveDownloadProgress( f"Downloading {index} / {total}: {display_name}", index - 1, total, iter_image_paths(cache_dir), filenames, ) gdown.download( id=str(item.id), output=str(local_path), quiet=True, use_cookies=False, ) yield DriveDownloadProgress( f"Downloaded {index} / {total}: {display_name}", index, total, iter_image_paths(cache_dir), filenames, )
image_paths = iter_image_paths(cache_dir) if not image_paths: message = "Google Drive download did not contain any supported image files." yield DriveDownloadProgress(message, 0, total, [], filenames, done=True, error=message) return
complete_marker.write_text("ok", encoding="utf-8") yield DriveDownloadProgress( f"Google Drive download complete. {len(image_paths)} images found.", total, total, image_paths, [path.name for path in image_paths] or filenames, done=True, ) except Exception as exc: if cache_dir.exists(): shutil.rmtree(cache_dir) message = f"Google Drive download failed: {exc}" yield DriveDownloadProgress(message, 0, 0, [], [], done=True, error=message)
def download_google_drive_images(link: str, cache_root: Path = DRIVE_CACHE_ROOT) -> Tuple[List[Path], str]: final_paths: List[Path] = [] final_error = "" for progress in download_google_drive_folder_images(link, cache_root=cache_root): final_paths = progress.paths final_error = progress.error return final_paths, final_error
def clean_drive_downloads(cache_root: Path = DRIVE_CACHE_ROOT) -> None: if cache_root.exists(): shutil.rmtree(cache_root)1234567811 unmodified lines202122232425import tempfileimport unittestfrom pathlib import Pathfrom src.inference import ClassifiedPrediction, _aggregate_classification, _iter_image_pathsclass TestInferenceHelpers(unittest.TestCase):11 unmodified linesself.assertEqual(names, ["a.jpg", "c.PNG"])def test_aggregate_classification_majority_vote(self):classified = [ClassifiedPrediction(path=Path("1.jpg"), pred_idx=0, confidence=0.80),12345678910111213141511 unmodified lines272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798import hashlibimport tempfileimport unittestfrom pathlib import Pathfrom src.inference import ClassifiedPrediction, _aggregate_classification, _iter_image_paths, _resolve_input_imagesfrom src.utils import (clean_drive_downloads,download_google_drive_folder_images,download_google_drive_images,parse_google_drive_link,)class TestInferenceHelpers(unittest.TestCase):11 unmodified linesself.assertEqual(names, ["a.jpg", "c.PNG"])def test_download_google_drive_images_reuses_cache(self):with tempfile.TemporaryDirectory() as tmp:cache_root = Path(tmp) / "cache"link = "https://drive.google.com/drive/folders/example-id?usp=sharing"cache_key = hashlib.sha256(link.encode("utf-8")).hexdigest()[:16]cache_dir = cache_root / cache_keycache_dir.mkdir(parents=True)(cache_dir / "image.jpg").write_bytes(b"x")(cache_dir / ".download_complete").write_text("ok", encoding="utf-8")paths, error = download_google_drive_images(link, cache_root=cache_root)self.assertEqual(error, "")self.assertEqual([p.name for p in paths], ["image.jpg"])updates = list(download_google_drive_folder_images(link, cache_root=cache_root))self.assertEqual(updates[-1].filenames, ["image.jpg"])def test_google_drive_file_link_is_rejected_for_folder_download(self):link = "https://drive.google.com/file/d/file-id/view?usp=sharing"updates = list(download_google_drive_folder_images(link))self.assertEqual(len(updates), 1)self.assertTrue(updates[0].error)self.assertIn("folder link", updates[0].error)def test_resolve_input_images_combines_local_and_uploaded(self):with tempfile.TemporaryDirectory() as tmp:root = Path(tmp)uploaded = root / "uploaded.png"local_dir = root / "local"local_dir.mkdir()local = local_dir / "local.jpg"uploaded.write_bytes(b"x")local.write_bytes(b"y")paths, error = _resolve_input_images(str(uploaded), str(local_dir))self.assertEqual(error, "")self.assertEqual([p.name for p in paths], ["local.jpg", "uploaded.png"])def test_parse_google_drive_links(self):self.assertEqual(parse_google_drive_link("https://drive.google.com/file/d/file-id/view?usp=sharing"),("file", "file-id"),)self.assertEqual(parse_google_drive_link("https://drive.google.com/drive/folders/folder-id?usp=sharing"),("folder", "folder-id"),)self.assertEqual(parse_google_drive_link("https://example.com/file/d/file-id/view"),(None, None),)def test_clean_drive_downloads_removes_cache_root(self):with tempfile.TemporaryDirectory() as tmp:cache_root = Path(tmp) / "cache"cache_root.mkdir()(cache_root / "file.jpg").write_bytes(b"x")clean_drive_downloads(cache_root=cache_root)self.assertFalse(cache_root.exists())def test_aggregate_classification_majority_vote(self):classified = [ClassifiedPrediction(path=Path("1.jpg"), pred_idx=0, confidence=0.80),
113 unmodified lines11411511611711811961 unmodified lines181182183184185186327 unmodified lines514515516517518519176 unmodified lines696697698699700701985 unmodified lines168716881689169016911692154 unmodified lines18471848184918501851185288 unmodified lines194119421943194419451946310 unmodified lines22572258225922602261226228 unmodified lines22912292229322942295229639 unmodified lines233623372338233923402341158 unmodified lines25002501250225032504250513 unmodified lines2519252025212522252325243 unmodified lines252825292530253125322533253425351 unmodified line253725382539113 unmodified lines{ url = "https://files.pythonhosted.org/packages/f6/22/91616fe707a5c5510de2cac9b046a30defe7007ba8a0c04f9c08f27df312/audioop_lts-0.2.2-cp314-cp314t-win_arm64.whl", hash = "sha256:b492c3b040153e68b9fdaff5913305aaaba5bb433d8a7f73d5cf6a64ed3cc1dd", size = 25206, upload-time = "2025-08-05T16:43:16.444Z" },][[package]]name = "brotli"version = "1.2.0"61 unmodified lines{ url = "https://files.pythonhosted.org/packages/e6/ad/3cc14f097111b4de0040c83a525973216457bbeeb63739ef1ed275c1c021/certifi-2026.1.4-py3-none-any.whl", hash = "sha256:9943707519e4add1115f44c2bc244f782c0249876bf51b6599fee1ffbedd685c", size = 152900, upload-time = "2026-01-04T02:42:40.15Z" },][[package]]name = "click"version = "8.3.1"327 unmodified lines{ url = "https://files.pythonhosted.org/packages/e6/ab/fb21f4c939bb440104cc2b396d3be1d9b7a9fd3c6c2a53d98c45b3d7c954/fsspec-2026.2.0-py3-none-any.whl", hash = "sha256:98de475b5cb3bd66bedd5c4679e87b4fdfe1a3bf4d707b151b3c07e58c9a2437", size = 202505, upload-time = "2026-02-05T21:50:51.819Z" },][[package]]name = "grad-cam"version = "1.5.5"176 unmodified lines{ url = "https://files.pythonhosted.org/packages/0e/61/66938bbb5fc52dbdf84594873d5b51fb1f7c7794e9c0f5bd885f30bc507b/idna-3.11-py3-none-any.whl", hash = "sha256:771a87f49d9defaf64091e6e6fe9c18d4833f140bd19464795bc32d966ca37ea", size = 71008, upload-time = "2025-10-12T14:55:18.883Z" },][[package]]name = "jinja2"version = "3.1.6"985 unmodified lines{ url = "https://files.pythonhosted.org/packages/2d/71/64e9b1c7f04ae0027f788a248e6297d7fcc29571371fe7d45495a78172c0/pillow-12.1.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:75af0b4c229ac519b155028fa1be632d812a519abba9b46b20e50c6caa184f19", size = 7029809, upload-time = "2026-01-02T09:13:26.541Z" },][[package]]name = "pydantic"version = "2.12.5"154 unmodified lines{ url = "https://files.pythonhosted.org/packages/10/bd/c038d7cc38edc1aa5bf91ab8068b63d4308c66c4c8bb3cbba7dfbc049f9c/pyparsing-3.3.2-py3-none-any.whl", hash = "sha256:850ba148bd908d7e2411587e247a1e4f0327839c40e2e5e6d05a007ecc69911d", size = 122781, upload-time = "2026-01-21T03:57:55.912Z" },][[package]]name = "python-dateutil"version = "2.9.0.post0"88 unmodified lines{ url = "https://files.pythonhosted.org/packages/f1/12/de94a39c2ef588c7e6455cfbe7343d3b2dc9d6b6b2f40c4c6565744c873d/pyyaml-6.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:ebc55a14a21cb14062aa4162f906cd962b28e2e9ea38f9b4391244cd8de4ae0b", size = 149341, upload-time = "2025-09-25T21:32:56.828Z" },][[package]]name = "rich"version = "14.3.2"310 unmodified lines{ url = "https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl", hash = "sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274", size = 11050, upload-time = "2024-12-04T17:35:26.475Z" },][[package]]name = "starlette"version = "0.52.1"28 unmodified lines{ url = "https://files.pythonhosted.org/packages/32/d5/f9a850d79b0851d1d4ef6456097579a9005b31fea68726a4ae5f2d82ddd9/threadpoolctl-3.6.0-py3-none-any.whl", hash = "sha256:43a0b8fd5a2928500110039e43a5eed8480b918967083ea48dc3ab9f13c4a7fb", size = 18638, upload-time = "2025-03-13T13:49:21.846Z" },][[package]]name = "tomlkit"version = "0.13.3"39 unmodified lines{ url = "https://files.pythonhosted.org/packages/0f/8b/4b61d6e13f7108f36910df9ab4b58fd389cc2520d54d81b88660804aad99/torch-2.10.0-2-cp311-none-macosx_11_0_arm64.whl", hash = "sha256:418997cb02d0a0f1497cf6a09f63166f9f5df9f3e16c8a716ab76a72127c714f", size = 79423467, upload-time = "2026-02-10T21:44:48.711Z" },{ url = "https://files.pythonhosted.org/packages/d3/54/a2ba279afcca44bbd320d4e73675b282fcee3d81400ea1b53934efca6462/torch-2.10.0-2-cp312-none-macosx_11_0_arm64.whl", hash = "sha256:13ec4add8c3faaed8d13e0574f5cd4a323c11655546f91fbe6afa77b57423574", size = 79498202, upload-time = "2026-02-10T21:44:52.603Z" },{ url = "https://files.pythonhosted.org/packages/ec/23/2c9fe0c9c27f7f6cb865abcea8a4568f29f00acaeadfc6a37f6801f84cb4/torch-2.10.0-2-cp313-none-macosx_11_0_arm64.whl", hash = "sha256:e521c9f030a3774ed770a9c011751fb47c4d12029a3d6522116e48431f2ff89e", size = 79498254, upload-time = "2026-02-10T21:44:44.095Z" },{ url = "https://files.pythonhosted.org/packages/0c/1a/c61f36cfd446170ec27b3a4984f072fd06dab6b5d7ce27e11adb35d6c838/torch-2.10.0-cp310-cp310-manylinux_2_28_aarch64.whl", hash = "sha256:5276fa790a666ee8becaffff8acb711922252521b28fbce5db7db5cf9cb2026d", size = 145992962, upload-time = "2026-01-21T16:24:14.04Z" },{ url = "https://files.pythonhosted.org/packages/b5/60/6662535354191e2d1555296045b63e4279e5a9dbad49acf55a5d38655a39/torch-2.10.0-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:aaf663927bcd490ae971469a624c322202a2a1e68936eb952535ca4cd3b90444", size = 915599237, upload-time = "2026-01-21T16:23:25.497Z" },{ url = "https://files.pythonhosted.org/packages/40/b8/66bbe96f0d79be2b5c697b2e0b187ed792a15c6c4b8904613454651db848/torch-2.10.0-cp310-cp310-win_amd64.whl", hash = "sha256:a4be6a2a190b32ff5c8002a0977a25ea60e64f7ba46b1be37093c141d9c49aeb", size = 113720931, upload-time = "2026-01-21T16:24:23.743Z" },158 unmodified lines{ url = "https://files.pythonhosted.org/packages/c7/b0/003792df09decd6849a5e39c28b513c06e84436a54440380862b5aeff25d/tzdata-2025.3-py2.py3-none-any.whl", hash = "sha256:06a47e5700f3081aab02b2e513160914ff0694bce9947d6b76ebd6bf57cfc5d1", size = 348521, upload-time = "2025-12-13T17:45:33.889Z" },][[package]]name = "uvicorn"version = "0.40.0"13 unmodified linesversion = "0.1.0"source = { virtual = "." }dependencies = [{ name = "grad-cam" },{ name = "gradio" },{ name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" },3 unmodified lines{ name = "torchvision" },][package.metadata]requires-dist = [{ name = "grad-cam", specifier = ">=1.5.5" },{ name = "gradio", specifier = ">=6.5.1" },{ name = "numpy", specifier = ">=2.2.6" },1 unmodified line{ name = "torch", specifier = ">=2.10.0" },{ name = "torchvision", specifier = ">=0.25.0" },]113 unmodified lines11411511611711811912012112212312412512612712812913013113261 unmodified lines194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304327 unmodified lines632633634635636637638639640641642643644645646647648649650651652653176 unmodified lines830831832833834835836837838839840841842843844985 unmodified lines183018311832183318341835183618371838183918401841184218431844154 unmodified lines19992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203188 unmodified lines21202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145310 unmodified lines24562457245824592460246124622463246424652466246724682469247028 unmodified lines24992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255839 unmodified lines2598259926002601260226032604260526062607260826092610158 unmodified lines27692770277127722773277427752776277727782779278027812782278313 unmodified lines27972798279928002801280228033 unmodified lines280728082809281028112812281328142815281628172818281928201 unmodified line282228232824282528262827113 unmodified lines{ url = "https://files.pythonhosted.org/packages/f6/22/91616fe707a5c5510de2cac9b046a30defe7007ba8a0c04f9c08f27df312/audioop_lts-0.2.2-cp314-cp314t-win_arm64.whl", hash = "sha256:b492c3b040153e68b9fdaff5913305aaaba5bb433d8a7f73d5cf6a64ed3cc1dd", size = 25206, upload-time = "2025-08-05T16:43:16.444Z" },][[package]]name = "beautifulsoup4"version = "4.14.3"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "soupsieve" },{ name = "typing-extensions" },]sdist = { url = "https://files.pythonhosted.org/packages/c3/b0/1c6a16426d389813b48d95e26898aff79abbde42ad353958ad95cc8c9b21/beautifulsoup4-4.14.3.tar.gz", hash = "sha256:6292b1c5186d356bba669ef9f7f051757099565ad9ada5dd630bd9de5fa7fb86", size = 627737, upload-time = "2025-11-30T15:08:26.084Z" }wheels = [{ url = "https://files.pythonhosted.org/packages/1a/39/47f9197bdd44df24d67ac8893641e16f386c984a0619ef2ee4c51fbbc019/beautifulsoup4-4.14.3-py3-none-any.whl", hash = "sha256:0918bfe44902e6ad8d57732ba310582e98da931428d231a5ecb9e7c703a735bb", size = 107721, upload-time = "2025-11-30T15:08:24.087Z" },][[package]]name = "brotli"version = "1.2.0"61 unmodified lines{ url = "https://files.pythonhosted.org/packages/e6/ad/3cc14f097111b4de0040c83a525973216457bbeeb63739ef1ed275c1c021/certifi-2026.1.4-py3-none-any.whl", hash = "sha256:9943707519e4add1115f44c2bc244f782c0249876bf51b6599fee1ffbedd685c", size = 152900, upload-time = "2026-01-04T02:42:40.15Z" },][[package]]name = "charset-normalizer"version = "3.4.7"source = { registry = "https://pypi.org/simple" }sdist = { url = "https://files.pythonhosted.org/packages/e7/a1/67fe25fac3c7642725500a3f6cfe5821ad557c3abb11c9d20d12c7008d3e/charset_normalizer-3.4.7.tar.gz", hash = "sha256:ae89db9e5f98a11a4bf50407d4363e7b09b31e55bc117b4f7d80aab97ba009e5", size = 144271, upload-time = "2026-04-02T09:28:39.342Z" }wheels = [{ url = "https://files.pythonhosted.org/packages/26/08/0f303cb0b529e456bb116f2d50565a482694fbb94340bf56d44677e7ed03/charset_normalizer-3.4.7-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:cdd68a1fb318e290a2077696b7eb7a21a49163c455979c639bf5a5dcdc46617d", size = 315182, upload-time = "2026-04-02T09:25:40.673Z" },{ url = "https://files.pythonhosted.org/packages/24/47/b192933e94b546f1b1fe4df9cc1f84fcdbf2359f8d1081d46dd029b50207/charset_normalizer-3.4.7-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e17b8d5d6a8c47c85e68ca8379def1303fd360c3e22093a807cd34a71cd082b8", size = 209329, upload-time = "2026-04-02T09:25:42.354Z" },{ url = "https://files.pythonhosted.org/packages/c2/b4/01fa81c5ca6141024d89a8fc15968002b71da7f825dd14113207113fabbd/charset_normalizer-3.4.7-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:511ef87c8aec0783e08ac18565a16d435372bc1ac25a91e6ac7f5ef2b0bff790", size = 231230, upload-time = "2026-04-02T09:25:44.281Z" },{ url = "https://files.pythonhosted.org/packages/20/f7/7b991776844dfa058017e600e6e55ff01984a063290ca5622c0b63162f68/charset_normalizer-3.4.7-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:007d05ec7321d12a40227aae9e2bc6dca73f3cb21058999a1df9e193555a9dcc", size = 225890, upload-time = "2026-04-02T09:25:45.475Z" },{ url = "https://files.pythonhosted.org/packages/20/e7/bed0024a0f4ab0c8a9c64d4445f39b30c99bd1acd228291959e3de664247/charset_normalizer-3.4.7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:cf29836da5119f3c8a8a70667b0ef5fdca3bb12f80fd06487cfa575b3909b393", size = 216930, upload-time = "2026-04-02T09:25:46.58Z" },{ url = "https://files.pythonhosted.org/packages/e2/ab/b18f0ab31cdd7b3ddb8bb76c4a414aeb8160c9810fdf1bc62f269a539d87/charset_normalizer-3.4.7-cp310-cp310-manylinux_2_31_armv7l.whl", hash = "sha256:12d8baf840cc7889b37c7c770f478adea7adce3dcb3944d02ec87508e2dcf153", size = 202109, upload-time = "2026-04-02T09:25:48.031Z" },{ url = "https://files.pythonhosted.org/packages/82/e5/7e9440768a06dfb3075936490cb82dbf0ee20a133bf0dd8551fa096914ec/charset_normalizer-3.4.7-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:d560742f3c0d62afaccf9f41fe485ed69bd7661a241f86a3ef0f0fb8b1a397af", size = 214684, upload-time = "2026-04-02T09:25:49.245Z" },{ url = "https://files.pythonhosted.org/packages/71/94/8c61d8da9f062fdf457c80acfa25060ec22bf1d34bbeaca4350f13bcfd07/charset_normalizer-3.4.7-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:b14b2d9dac08e28bb8046a1a0434b1750eb221c8f5b87a68f4fa11a6f97b5e34", size = 212785, upload-time = "2026-04-02T09:25:50.671Z" },{ url = "https://files.pythonhosted.org/packages/66/cd/6e9889c648e72c0ab2e5967528bb83508f354d706637bc7097190c874e13/charset_normalizer-3.4.7-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:bc17a677b21b3502a21f66a8cc64f5bfad4df8a0b8434d661666f8ce90ac3af1", size = 203055, upload-time = "2026-04-02T09:25:51.802Z" },{ url = "https://files.pythonhosted.org/packages/92/2e/7a951d6a08aefb7eb8e1b54cdfb580b1365afdd9dd484dc4bee9e5d8f258/charset_normalizer-3.4.7-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:750e02e074872a3fad7f233b47734166440af3cdea0add3e95163110816d6752", size = 232502, upload-time = "2026-04-02T09:25:53.388Z" },{ url = "https://files.pythonhosted.org/packages/58/d5/abcf2d83bf8e0a1286df55cd0dc1d49af0da4282aa77e986df343e7de124/charset_normalizer-3.4.7-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:4e5163c14bffd570ef2affbfdd77bba66383890797df43dc8b4cc7d6f500bf53", size = 214295, upload-time = "2026-04-02T09:25:54.765Z" },{ url = "https://files.pythonhosted.org/packages/47/3a/7d4cd7ed54be99973a0dc176032cba5cb1f258082c31fa6df35cff46acfc/charset_normalizer-3.4.7-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:6ed74185b2db44f41ef35fd1617c5888e59792da9bbc9190d6c7300617182616", size = 227145, upload-time = "2026-04-02T09:25:55.904Z" },{ url = "https://files.pythonhosted.org/packages/1d/98/3a45bf8247889cf28262ebd3d0872edff11565b2a1e3064ccb132db3fbb0/charset_normalizer-3.4.7-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:94e1885b270625a9a828c9793b4d52a64445299baa1fea5a173bf1d3dd9a1a5a", size = 218884, upload-time = "2026-04-02T09:25:57.074Z" },{ url = "https://files.pythonhosted.org/packages/ad/80/2e8b7f8915ed5c9ef13aa828d82738e33888c485b65ebf744d615040c7ea/charset_normalizer-3.4.7-cp310-cp310-win32.whl", hash = "sha256:6785f414ae0f3c733c437e0f3929197934f526d19dfaa75e18fdb4f94c6fb374", size = 148343, upload-time = "2026-04-02T09:25:58.199Z" },{ url = "https://files.pythonhosted.org/packages/35/1b/3b8c8c77184af465ee9ad88b5aea46ea6b2e1f7b9dc9502891e37af21e30/charset_normalizer-3.4.7-cp310-cp310-win_amd64.whl", hash = "sha256:6696b7688f54f5af4462118f0bfa7c1621eeb87154f77fa04b9295ce7a8f2943", size = 159174, upload-time = "2026-04-02T09:25:59.322Z" },{ url = "https://files.pythonhosted.org/packages/be/c1/feb40dca40dbb21e0a908801782d9288c64fc8d8e562c2098e9994c8c21b/charset_normalizer-3.4.7-cp310-cp310-win_arm64.whl", hash = "sha256:66671f93accb62ed07da56613636f3641f1a12c13046ce91ffc923721f23c008", size = 147805, upload-time = "2026-04-02T09:26:00.756Z" },{ url = "https://files.pythonhosted.org/packages/c2/d7/b5b7020a0565c2e9fa8c09f4b5fa6232feb326b8c20081ccded47ea368fd/charset_normalizer-3.4.7-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:7641bb8895e77f921102f72833904dcd9901df5d6d72a2ab8f31d04b7e51e4e7", size = 309705, upload-time = "2026-04-02T09:26:02.191Z" },{ url = "https://files.pythonhosted.org/packages/5a/53/58c29116c340e5456724ecd2fff4196d236b98f3da97b404bc5e51ac3493/charset_normalizer-3.4.7-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:202389074300232baeb53ae2569a60901f7efadd4245cf3a3bf0617d60b439d7", size = 206419, upload-time = "2026-04-02T09:26:03.583Z" },{ url = "https://files.pythonhosted.org/packages/b2/02/e8146dc6591a37a00e5144c63f29fb7c97a734ea8a111190783c0e60ab63/charset_normalizer-3.4.7-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:30b8d1d8c52a48c2c5690e152c169b673487a2a58de1ec7393196753063fcd5e", size = 227901, upload-time = "2026-04-02T09:26:04.738Z" },{ url = "https://files.pythonhosted.org/packages/fb/73/77486c4cd58f1267bf17db420e930c9afa1b3be3fe8c8b8ebbebc9624359/charset_normalizer-3.4.7-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:532bc9bf33a68613fd7d65e4b1c71a6a38d7d42604ecf239c77392e9b4e8998c", size = 222742, upload-time = "2026-04-02T09:26:06.36Z" },{ url = "https://files.pythonhosted.org/packages/a1/fa/f74eb381a7d94ded44739e9d94de18dc5edc9c17fb8c11f0a6890696c0a9/charset_normalizer-3.4.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2fe249cb4651fd12605b7288b24751d8bfd46d35f12a20b1ba33dea122e690df", size = 214061, upload-time = "2026-04-02T09:26:08.347Z" },{ url = "https://files.pythonhosted.org/packages/dc/92/42bd3cefcf7687253fb86694b45f37b733c97f59af3724f356fa92b8c344/charset_normalizer-3.4.7-cp311-cp311-manylinux_2_31_armv7l.whl", hash = "sha256:65bcd23054beab4d166035cabbc868a09c1a49d1efe458fe8e4361215df40265", size = 199239, upload-time = "2026-04-02T09:26:09.823Z" },{ url = "https://files.pythonhosted.org/packages/4c/3d/069e7184e2aa3b3cddc700e3dd267413dc259854adc3380421c805c6a17d/charset_normalizer-3.4.7-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:08e721811161356f97b4059a9ba7bafb23ea5ee2255402c42881c214e173c6b4", size = 210173, upload-time = "2026-04-02T09:26:10.953Z" },{ url = "https://files.pythonhosted.org/packages/62/51/9d56feb5f2e7074c46f93e0ebdbe61f0848ee246e2f0d89f8e20b89ebb8f/charset_normalizer-3.4.7-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:e060d01aec0a910bdccb8be71faf34e7799ce36950f8294c8bf612cba65a2c9e", size = 209841, upload-time = "2026-04-02T09:26:12.142Z" },{ url = "https://files.pythonhosted.org/packages/d2/59/893d8f99cc4c837dda1fe2f1139079703deb9f321aabcb032355de13b6c7/charset_normalizer-3.4.7-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:38c0109396c4cfc574d502df99742a45c72c08eff0a36158b6f04000043dbf38", size = 200304, upload-time = "2026-04-02T09:26:13.711Z" },{ url = "https://files.pythonhosted.org/packages/7d/1d/ee6f3be3464247578d1ed5c46de545ccc3d3ff933695395c402c21fa6b77/charset_normalizer-3.4.7-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:1c2a768fdd44ee4a9339a9b0b130049139b8ce3c01d2ce09f67f5a68048d477c", size = 229455, upload-time = "2026-04-02T09:26:14.941Z" },{ url = "https://files.pythonhosted.org/packages/54/bb/8fb0a946296ea96a488928bdce8ef99023998c48e4713af533e9bb98ef07/charset_normalizer-3.4.7-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:1a87ca9d5df6fe460483d9a5bbf2b18f620cbed41b432e2bddb686228282d10b", size = 210036, upload-time = "2026-04-02T09:26:16.478Z" },{ url = "https://files.pythonhosted.org/packages/9a/bc/015b2387f913749f82afd4fcba07846d05b6d784dd16123cb66860e0237d/charset_normalizer-3.4.7-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:d635aab80466bc95771bb78d5370e74d36d1fe31467b6b29b8b57b2a3cd7d22c", size = 224739, upload-time = "2026-04-02T09:26:17.751Z" },{ url = "https://files.pythonhosted.org/packages/17/ab/63133691f56baae417493cba6b7c641571a2130eb7bceba6773367ab9ec5/charset_normalizer-3.4.7-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ae196f021b5e7c78e918242d217db021ed2a6ace2bc6ae94c0fc596221c7f58d", size = 216277, upload-time = "2026-04-02T09:26:18.981Z" },{ url = "https://files.pythonhosted.org/packages/06/6d/3be70e827977f20db77c12a97e6a9f973631a45b8d186c084527e53e77a4/charset_normalizer-3.4.7-cp311-cp311-win32.whl", hash = "sha256:adb2597b428735679446b46c8badf467b4ca5f5056aae4d51a19f9570301b1ad", size = 147819, upload-time = "2026-04-02T09:26:20.295Z" },{ url = "https://files.pythonhosted.org/packages/20/d9/5f67790f06b735d7c7637171bbfd89882ad67201891b7275e51116ed8207/charset_normalizer-3.4.7-cp311-cp311-win_amd64.whl", hash = "sha256:8e385e4267ab76874ae30db04c627faaaf0b509e1ccc11a95b3fc3e83f855c00", size = 159281, upload-time = "2026-04-02T09:26:21.74Z" },{ url = "https://files.pythonhosted.org/packages/ca/83/6413f36c5a34afead88ce6f66684d943d91f233d76dd083798f9602b75ae/charset_normalizer-3.4.7-cp311-cp311-win_arm64.whl", hash = "sha256:d4a48e5b3c2a489fae013b7589308a40146ee081f6f509e047e0e096084ceca1", size = 147843, upload-time = "2026-04-02T09:26:22.901Z" },{ url = "https://files.pythonhosted.org/packages/0c/eb/4fc8d0a7110eb5fc9cc161723a34a8a6c200ce3b4fbf681bc86feee22308/charset_normalizer-3.4.7-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:eca9705049ad3c7345d574e3510665cb2cf844c2f2dcfe675332677f081cbd46", size = 311328, upload-time = "2026-04-02T09:26:24.331Z" },{ url = "https://files.pythonhosted.org/packages/f8/e3/0fadc706008ac9d7b9b5be6dc767c05f9d3e5df51744ce4cc9605de7b9f4/charset_normalizer-3.4.7-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6178f72c5508bfc5fd446a5905e698c6212932f25bcdd4b47a757a50605a90e2", size = 208061, upload-time = "2026-04-02T09:26:25.568Z" },{ url = "https://files.pythonhosted.org/packages/42/f0/3dd1045c47f4a4604df85ec18ad093912ae1344ac706993aff91d38773a2/charset_normalizer-3.4.7-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:e1421b502d83040e6d7fb2fb18dff63957f720da3d77b2fbd3187ceb63755d7b", size = 229031, upload-time = "2026-04-02T09:26:26.865Z" },{ url = "https://files.pythonhosted.org/packages/dc/67/675a46eb016118a2fbde5a277a5d15f4f69d5f3f5f338e5ee2f8948fcf43/charset_normalizer-3.4.7-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:edac0f1ab77644605be2cbba52e6b7f630731fc42b34cb0f634be1a6eface56a", size = 225239, upload-time = "2026-04-02T09:26:28.044Z" },{ url = "https://files.pythonhosted.org/packages/4b/f8/d0118a2f5f23b02cd166fa385c60f9b0d4f9194f574e2b31cef350ad7223/charset_normalizer-3.4.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5649fd1c7bade02f320a462fdefd0b4bd3ce036065836d4f42e0de958038e116", size = 216589, upload-time = "2026-04-02T09:26:29.239Z" },{ url = "https://files.pythonhosted.org/packages/b1/f1/6d2b0b261b6c4ceef0fcb0d17a01cc5bc53586c2d4796fa04b5c540bc13d/charset_normalizer-3.4.7-cp312-cp312-manylinux_2_31_armv7l.whl", hash = "sha256:203104ed3e428044fd943bc4bf45fa73c0730391f9621e37fe39ecf477b128cb", size = 202733, upload-time = "2026-04-02T09:26:30.5Z" },{ url = "https://files.pythonhosted.org/packages/6f/c0/7b1f943f7e87cc3db9626ba17807d042c38645f0a1d4415c7a14afb5591f/charset_normalizer-3.4.7-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:298930cec56029e05497a76988377cbd7457ba864beeea92ad7e844fe74cd1f1", size = 212652, upload-time = "2026-04-02T09:26:31.709Z" },{ url = "https://files.pythonhosted.org/packages/38/dd/5a9ab159fe45c6e72079398f277b7d2b523e7f716acc489726115a910097/charset_normalizer-3.4.7-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:708838739abf24b2ceb208d0e22403dd018faeef86ddac04319a62ae884c4f15", size = 211229, upload-time = "2026-04-02T09:26:33.282Z" },{ url = "https://files.pythonhosted.org/packages/d5/ff/531a1cad5ca855d1c1a8b69cb71abfd6d85c0291580146fda7c82857caa1/charset_normalizer-3.4.7-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:0f7eb884681e3938906ed0434f20c63046eacd0111c4ba96f27b76084cd679f5", size = 203552, upload-time = "2026-04-02T09:26:34.845Z" },{ url = "https://files.pythonhosted.org/packages/c1/4c/a5fb52d528a8ca41f7598cb619409ece30a169fbdf9cdce592e53b46c3a6/charset_normalizer-3.4.7-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:4dc1e73c36828f982bfe79fadf5919923f8a6f4df2860804db9a98c48824ce8d", size = 230806, upload-time = "2026-04-02T09:26:36.152Z" },{ url = "https://files.pythonhosted.org/packages/59/7a/071feed8124111a32b316b33ae4de83d36923039ef8cf48120266844285b/charset_normalizer-3.4.7-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:aed52fea0513bac0ccde438c188c8a471c4e0f457c2dd20cdbf6ea7a450046c7", size = 212316, upload-time = "2026-04-02T09:26:37.672Z" },{ url = "https://files.pythonhosted.org/packages/fd/35/f7dba3994312d7ba508e041eaac39a36b120f32d4c8662b8814dab876431/charset_normalizer-3.4.7-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:fea24543955a6a729c45a73fe90e08c743f0b3334bbf3201e6c4bc1b0c7fa464", size = 227274, upload-time = "2026-04-02T09:26:38.93Z" },{ url = "https://files.pythonhosted.org/packages/8a/2d/a572df5c9204ab7688ec1edc895a73ebded3b023bb07364710b05dd1c9be/charset_normalizer-3.4.7-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:bb6d88045545b26da47aa879dd4a89a71d1dce0f0e549b1abcb31dfe4a8eac49", size = 218468, upload-time = "2026-04-02T09:26:40.17Z" },{ url = "https://files.pythonhosted.org/packages/86/eb/890922a8b03a568ca2f336c36585a4713c55d4d67bf0f0c78924be6315ca/charset_normalizer-3.4.7-cp312-cp312-win32.whl", hash = "sha256:2257141f39fe65a3fdf38aeccae4b953e5f3b3324f4ff0daf9f15b8518666a2c", size = 148460, upload-time = "2026-04-02T09:26:41.416Z" },{ url = "https://files.pythonhosted.org/packages/35/d9/0e7dffa06c5ab081f75b1b786f0aefc88365825dfcd0ac544bdb7b2b6853/charset_normalizer-3.4.7-cp312-cp312-win_amd64.whl", hash = "sha256:5ed6ab538499c8644b8a3e18debabcd7ce684f3fa91cf867521a7a0279cab2d6", size = 159330, upload-time = "2026-04-02T09:26:42.554Z" },{ url = "https://files.pythonhosted.org/packages/9e/5d/481bcc2a7c88ea6b0878c299547843b2521ccbc40980cb406267088bc701/charset_normalizer-3.4.7-cp312-cp312-win_arm64.whl", hash = "sha256:56be790f86bfb2c98fb742ce566dfb4816e5a83384616ab59c49e0604d49c51d", size = 147828, upload-time = "2026-04-02T09:26:44.075Z" },{ url = "https://files.pythonhosted.org/packages/c1/3b/66777e39d3ae1ddc77ee606be4ec6d8cbd4c801f65e5a1b6f2b11b8346dd/charset_normalizer-3.4.7-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:f496c9c3cc02230093d8330875c4c3cdfc3b73612a5fd921c65d39cbcef08063", size = 309627, upload-time = "2026-04-02T09:26:45.198Z" },{ url = "https://files.pythonhosted.org/packages/2e/4e/b7f84e617b4854ade48a1b7915c8ccfadeba444d2a18c291f696e37f0d3b/charset_normalizer-3.4.7-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0ea948db76d31190bf08bd371623927ee1339d5f2a0b4b1b4a4439a65298703c", size = 207008, upload-time = "2026-04-02T09:26:46.824Z" },{ url = "https://files.pythonhosted.org/packages/c4/bb/ec73c0257c9e11b268f018f068f5d00aa0ef8c8b09f7753ebd5f2880e248/charset_normalizer-3.4.7-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a277ab8928b9f299723bc1a2dabb1265911b1a76341f90a510368ca44ad9ab66", size = 228303, upload-time = "2026-04-02T09:26:48.397Z" },{ url = "https://files.pythonhosted.org/packages/85/fb/32d1f5033484494619f701e719429c69b766bfc4dbc61aa9e9c8c166528b/charset_normalizer-3.4.7-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:3bec022aec2c514d9cf199522a802bd007cd588ab17ab2525f20f9c34d067c18", size = 224282, upload-time = "2026-04-02T09:26:49.684Z" },{ url = "https://files.pythonhosted.org/packages/fa/07/330e3a0dda4c404d6da83b327270906e9654a24f6c546dc886a0eb0ffb23/charset_normalizer-3.4.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e044c39e41b92c845bc815e5ae4230804e8e7bc29e399b0437d64222d92809dd", size = 215595, upload-time = "2026-04-02T09:26:50.915Z" },{ url = "https://files.pythonhosted.org/packages/e3/7c/fc890655786e423f02556e0216d4b8c6bcb6bdfa890160dc66bf52dee468/charset_normalizer-3.4.7-cp313-cp313-manylinux_2_31_armv7l.whl", hash = "sha256:f495a1652cf3fbab2eb0639776dad966c2fb874d79d87ca07f9d5f059b8bd215", size = 201986, upload-time = "2026-04-02T09:26:52.197Z" },{ url = "https://files.pythonhosted.org/packages/d8/97/bfb18b3db2aed3b90cf54dc292ad79fdd5ad65c4eae454099475cbeadd0d/charset_normalizer-3.4.7-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:e712b419df8ba5e42b226c510472b37bd57b38e897d3eca5e8cfd410a29fa859", size = 211711, upload-time = "2026-04-02T09:26:53.49Z" },{ url = "https://files.pythonhosted.org/packages/6f/a5/a581c13798546a7fd557c82614a5c65a13df2157e9ad6373166d2a3e645d/charset_normalizer-3.4.7-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:7804338df6fcc08105c7745f1502ba68d900f45fd770d5bdd5288ddccb8a42d8", size = 210036, upload-time = "2026-04-02T09:26:54.975Z" },{ url = "https://files.pythonhosted.org/packages/8c/bf/b3ab5bcb478e4193d517644b0fb2bf5497fbceeaa7a1bc0f4d5b50953861/charset_normalizer-3.4.7-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:481551899c856c704d58119b5025793fa6730adda3571971af568f66d2424bb5", size = 202998, upload-time = "2026-04-02T09:26:56.303Z" },{ url = "https://files.pythonhosted.org/packages/e7/4e/23efd79b65d314fa320ec6017b4b5834d5c12a58ba4610aa353af2e2f577/charset_normalizer-3.4.7-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:f59099f9b66f0d7145115e6f80dd8b1d847176df89b234a5a6b3f00437aa0832", size = 230056, upload-time = "2026-04-02T09:26:57.554Z" },{ url = "https://files.pythonhosted.org/packages/b9/9f/1e1941bc3f0e01df116e68dc37a55c4d249df5e6fa77f008841aef68264f/charset_normalizer-3.4.7-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:f59ad4c0e8f6bba240a9bb85504faa1ab438237199d4cce5f622761507b8f6a6", size = 211537, upload-time = "2026-04-02T09:26:58.843Z" },{ url = "https://files.pythonhosted.org/packages/80/0f/088cbb3020d44428964a6c97fe1edfb1b9550396bf6d278330281e8b709c/charset_normalizer-3.4.7-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:3dedcc22d73ec993f42055eff4fcfed9318d1eeb9a6606c55892a26964964e48", size = 226176, upload-time = "2026-04-02T09:27:00.437Z" },{ url = "https://files.pythonhosted.org/packages/6a/9f/130394f9bbe06f4f63e22641d32fc9b202b7e251c9aef4db044324dac493/charset_normalizer-3.4.7-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:64f02c6841d7d83f832cd97ccf8eb8a906d06eb95d5276069175c696b024b60a", size = 217723, upload-time = "2026-04-02T09:27:02.021Z" },{ url = "https://files.pythonhosted.org/packages/73/55/c469897448a06e49f8fa03f6caae97074fde823f432a98f979cc42b90e69/charset_normalizer-3.4.7-cp313-cp313-win32.whl", hash = "sha256:4042d5c8f957e15221d423ba781e85d553722fc4113f523f2feb7b188cc34c5e", size = 148085, upload-time = "2026-04-02T09:27:03.192Z" },{ url = "https://files.pythonhosted.org/packages/5d/78/1b74c5bbb3f99b77a1715c91b3e0b5bdb6fe302d95ace4f5b1bec37b0167/charset_normalizer-3.4.7-cp313-cp313-win_amd64.whl", hash = "sha256:3946fa46a0cf3e4c8cb1cc52f56bb536310d34f25f01ca9b6c16afa767dab110", size = 158819, upload-time = "2026-04-02T09:27:04.454Z" },{ url = "https://files.pythonhosted.org/packages/68/86/46bd42279d323deb8687c4a5a811fd548cb7d1de10cf6535d099877a9a9f/charset_normalizer-3.4.7-cp313-cp313-win_arm64.whl", hash = "sha256:80d04837f55fc81da168b98de4f4b797ef007fc8a79ab71c6ec9bc4dd662b15b", size = 147915, upload-time = "2026-04-02T09:27:05.971Z" },{ url = "https://files.pythonhosted.org/packages/97/c8/c67cb8c70e19ef1960b97b22ed2a1567711de46c4ddf19799923adc836c2/charset_normalizer-3.4.7-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:c36c333c39be2dbca264d7803333c896ab8fa7d4d6f0ab7edb7dfd7aea6e98c0", size = 309234, upload-time = "2026-04-02T09:27:07.194Z" },{ url = "https://files.pythonhosted.org/packages/99/85/c091fdee33f20de70d6c8b522743b6f831a2f1cd3ff86de4c6a827c48a76/charset_normalizer-3.4.7-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1c2aed2e5e41f24ea8ef1590b8e848a79b56f3a5564a65ceec43c9d692dc7d8a", size = 208042, upload-time = "2026-04-02T09:27:08.749Z" },{ url = "https://files.pythonhosted.org/packages/87/1c/ab2ce611b984d2fd5d86a5a8a19c1ae26acac6bad967da4967562c75114d/charset_normalizer-3.4.7-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:54523e136b8948060c0fa0bc7b1b50c32c186f2fceee897a495406bb6e311d2b", size = 228706, upload-time = "2026-04-02T09:27:09.951Z" },{ url = "https://files.pythonhosted.org/packages/a8/29/2b1d2cb00bf085f59d29eb773ce58ec2d325430f8c216804a0a5cd83cbca/charset_normalizer-3.4.7-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:715479b9a2802ecac752a3b0efa2b0b60285cf962ee38414211abdfccc233b41", size = 224727, upload-time = "2026-04-02T09:27:11.175Z" },{ url = "https://files.pythonhosted.org/packages/47/5c/032c2d5a07fe4d4855fea851209cca2b6f03ebeb6d4e3afdb3358386a684/charset_normalizer-3.4.7-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bd6c2a1c7573c64738d716488d2cdd3c00e340e4835707d8fdb8dc1a66ef164e", size = 215882, upload-time = "2026-04-02T09:27:12.446Z" },{ url = "https://files.pythonhosted.org/packages/2c/c2/356065d5a8b78ed04499cae5f339f091946a6a74f91e03476c33f0ab7100/charset_normalizer-3.4.7-cp314-cp314-manylinux_2_31_armv7l.whl", hash = "sha256:c45e9440fb78f8ddabcf714b68f936737a121355bf59f3907f4e17721b9d1aae", size = 200860, upload-time = "2026-04-02T09:27:13.721Z" },{ url = "https://files.pythonhosted.org/packages/0c/cd/a32a84217ced5039f53b29f460962abb2d4420def55afabe45b1c3c7483d/charset_normalizer-3.4.7-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:3534e7dcbdcf757da6b85a0bbf5b6868786d5982dd959b065e65481644817a18", size = 211564, upload-time = "2026-04-02T09:27:15.272Z" },{ url = "https://files.pythonhosted.org/packages/44/86/58e6f13ce26cc3b8f4a36b94a0f22ae2f00a72534520f4ae6857c4b81f89/charset_normalizer-3.4.7-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:e8ac484bf18ce6975760921bb6148041faa8fef0547200386ea0b52b5d27bf7b", size = 211276, upload-time = "2026-04-02T09:27:16.834Z" },{ url = "https://files.pythonhosted.org/packages/8f/fe/d17c32dc72e17e155e06883efa84514ca375f8a528ba2546bee73fc4df81/charset_normalizer-3.4.7-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:a5fe03b42827c13cdccd08e6c0247b6a6d4b5e3cdc53fd1749f5896adcdc2356", size = 201238, upload-time = "2026-04-02T09:27:18.229Z" },{ url = "https://files.pythonhosted.org/packages/6a/29/f33daa50b06525a237451cdb6c69da366c381a3dadcd833fa5676bc468b3/charset_normalizer-3.4.7-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:2d6eb928e13016cea4f1f21d1e10c1cebd5a421bc57ddf5b1142ae3f86824fab", size = 230189, upload-time = "2026-04-02T09:27:19.445Z" },{ url = "https://files.pythonhosted.org/packages/b6/6e/52c84015394a6a0bdcd435210a7e944c5f94ea1055f5cc5d56c5fe368e7b/charset_normalizer-3.4.7-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:e74327fb75de8986940def6e8dee4f127cc9752bee7355bb323cc5b2659b6d46", size = 211352, upload-time = "2026-04-02T09:27:20.79Z" },{ url = "https://files.pythonhosted.org/packages/8c/d7/4353be581b373033fb9198bf1da3cf8f09c1082561e8e922aa7b39bf9fe8/charset_normalizer-3.4.7-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:d6038d37043bced98a66e68d3aa2b6a35505dc01328cd65217cefe82f25def44", size = 227024, upload-time = "2026-04-02T09:27:22.063Z" },{ url = "https://files.pythonhosted.org/packages/30/45/99d18aa925bd1740098ccd3060e238e21115fffbfdcb8f3ece837d0ace6c/charset_normalizer-3.4.7-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:7579e913a5339fb8fa133f6bbcfd8e6749696206cf05acdbdca71a1b436d8e72", size = 217869, upload-time = "2026-04-02T09:27:23.486Z" },{ url = "https://files.pythonhosted.org/packages/5c/05/5ee478aa53f4bb7996482153d4bfe1b89e0f087f0ab6b294fcf92d595873/charset_normalizer-3.4.7-cp314-cp314-win32.whl", hash = "sha256:5b77459df20e08151cd6f8b9ef8ef1f961ef73d85c21a555c7eed5b79410ec10", size = 148541, upload-time = "2026-04-02T09:27:25.146Z" },{ url = "https://files.pythonhosted.org/packages/48/77/72dcb0921b2ce86420b2d79d454c7022bf5be40202a2a07906b9f2a35c97/charset_normalizer-3.4.7-cp314-cp314-win_amd64.whl", hash = "sha256:92a0a01ead5e668468e952e4238cccd7c537364eb7d851ab144ab6627dbbe12f", size = 159634, upload-time = "2026-04-02T09:27:26.642Z" },{ url = "https://files.pythonhosted.org/packages/c6/a3/c2369911cd72f02386e4e340770f6e158c7980267da16af8f668217abaa0/charset_normalizer-3.4.7-cp314-cp314-win_arm64.whl", hash = "sha256:67f6279d125ca0046a7fd386d01b311c6363844deac3e5b069b514ba3e63c246", size = 148384, upload-time = "2026-04-02T09:27:28.271Z" },{ url = "https://files.pythonhosted.org/packages/94/09/7e8a7f73d24dba1f0035fbbf014d2c36828fc1bf9c88f84093e57d315935/charset_normalizer-3.4.7-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:effc3f449787117233702311a1b7d8f59cba9ced946ba727bdc329ec69028e24", size = 330133, upload-time = "2026-04-02T09:27:29.474Z" },{ url = "https://files.pythonhosted.org/packages/8d/da/96975ddb11f8e977f706f45cddd8540fd8242f71ecdb5d18a80723dcf62c/charset_normalizer-3.4.7-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:fbccdc05410c9ee21bbf16a35f4c1d16123dcdeb8a1d38f33654fa21d0234f79", size = 216257, upload-time = "2026-04-02T09:27:30.793Z" },{ url = "https://files.pythonhosted.org/packages/e5/e8/1d63bf8ef2d388e95c64b2098f45f84758f6d102a087552da1485912637b/charset_normalizer-3.4.7-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:733784b6d6def852c814bce5f318d25da2ee65dd4839a0718641c696e09a2960", size = 234851, upload-time = "2026-04-02T09:27:32.44Z" },{ url = "https://files.pythonhosted.org/packages/9b/40/e5ff04233e70da2681fa43969ad6f66ca5611d7e669be0246c4c7aaf6dc8/charset_normalizer-3.4.7-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a89c23ef8d2c6b27fd200a42aa4ac72786e7c60d40efdc76e6011260b6e949c4", size = 233393, upload-time = "2026-04-02T09:27:34.03Z" },{ url = "https://files.pythonhosted.org/packages/be/c1/06c6c49d5a5450f76899992f1ee40b41d076aee9279b49cf9974d2f313d5/charset_normalizer-3.4.7-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6c114670c45346afedc0d947faf3c7f701051d2518b943679c8ff88befe14f8e", size = 223251, upload-time = "2026-04-02T09:27:35.369Z" },{ url = "https://files.pythonhosted.org/packages/2b/9f/f2ff16fb050946169e3e1f82134d107e5d4ae72647ec8a1b1446c148480f/charset_normalizer-3.4.7-cp314-cp314t-manylinux_2_31_armv7l.whl", hash = "sha256:a180c5e59792af262bf263b21a3c49353f25945d8d9f70628e73de370d55e1e1", size = 206609, upload-time = "2026-04-02T09:27:36.661Z" },{ url = "https://files.pythonhosted.org/packages/69/d5/a527c0cd8d64d2eab7459784fb4169a0ac76e5a6fc5237337982fd61347e/charset_normalizer-3.4.7-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:3c9a494bc5ec77d43cea229c4f6db1e4d8fe7e1bbffa8b6f0f0032430ff8ab44", size = 220014, upload-time = "2026-04-02T09:27:38.019Z" },{ url = "https://files.pythonhosted.org/packages/7e/80/8a7b8104a3e203074dc9aa2c613d4b726c0e136bad1cc734594b02867972/charset_normalizer-3.4.7-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8d828b6667a32a728a1ad1d93957cdf37489c57b97ae6c4de2860fa749b8fc1e", size = 218979, upload-time = "2026-04-02T09:27:39.37Z" },{ url = "https://files.pythonhosted.org/packages/02/9a/b759b503d507f375b2b5c153e4d2ee0a75aa215b7f2489cf314f4541f2c0/charset_normalizer-3.4.7-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:cf1493cd8607bec4d8a7b9b004e699fcf8f9103a9284cc94962cb73d20f9d4a3", size = 209238, upload-time = "2026-04-02T09:27:40.722Z" },{ url = "https://files.pythonhosted.org/packages/c2/4e/0f3f5d47b86bdb79256e7290b26ac847a2832d9a4033f7eb2cd4bcf4bb5b/charset_normalizer-3.4.7-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:0c96c3b819b5c3e9e165495db84d41914d6894d55181d2d108cc1a69bfc9cce0", size = 236110, upload-time = "2026-04-02T09:27:42.33Z" },{ url = "https://files.pythonhosted.org/packages/96/23/bce28734eb3ed2c91dcf93abeb8a5cf393a7b2749725030bb630e554fdd8/charset_normalizer-3.4.7-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:752a45dc4a6934060b3b0dab47e04edc3326575f82be64bc4fc293914566503e", size = 219824, upload-time = "2026-04-02T09:27:43.924Z" },{ url = "https://files.pythonhosted.org/packages/2c/6f/6e897c6984cc4d41af319b077f2f600fc8214eb2fe2d6bcb79141b882400/charset_normalizer-3.4.7-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:8778f0c7a52e56f75d12dae53ae320fae900a8b9b4164b981b9c5ce059cd1fcb", size = 233103, upload-time = "2026-04-02T09:27:45.348Z" },{ url = "https://files.pythonhosted.org/packages/76/22/ef7bd0fe480a0ae9b656189ec00744b60933f68b4f42a7bb06589f6f576a/charset_normalizer-3.4.7-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:ce3412fbe1e31eb81ea42f4169ed94861c56e643189e1e75f0041f3fe7020abe", size = 225194, upload-time = "2026-04-02T09:27:46.706Z" },{ url = "https://files.pythonhosted.org/packages/c5/a7/0e0ab3e0b5bc1219bd80a6a0d4d72ca74d9250cb2382b7c699c147e06017/charset_normalizer-3.4.7-cp314-cp314t-win32.whl", hash = "sha256:c03a41a8784091e67a39648f70c5f97b5b6a37f216896d44d2cdcb82615339a0", size = 159827, upload-time = "2026-04-02T09:27:48.053Z" },{ url = "https://files.pythonhosted.org/packages/7a/1d/29d32e0fb40864b1f878c7f5a0b343ae676c6e2b271a2d55cc3a152391da/charset_normalizer-3.4.7-cp314-cp314t-win_amd64.whl", hash = "sha256:03853ed82eeebbce3c2abfdbc98c96dc205f32a79627688ac9a27370ea61a49c", size = 174168, upload-time = "2026-04-02T09:27:49.795Z" },{ url = "https://files.pythonhosted.org/packages/de/32/d92444ad05c7a6e41fb2036749777c163baf7a0301a040cb672d6b2b1ae9/charset_normalizer-3.4.7-cp314-cp314t-win_arm64.whl", hash = "sha256:c35abb8bfff0185efac5878da64c45dafd2b37fb0383add1be155a763c1f083d", size = 153018, upload-time = "2026-04-02T09:27:51.116Z" },{ url = "https://files.pythonhosted.org/packages/db/8f/61959034484a4a7c527811f4721e75d02d653a35afb0b6054474d8185d4c/charset_normalizer-3.4.7-py3-none-any.whl", hash = "sha256:3dce51d0f5e7951f8bb4900c257dad282f49190fdbebecd4ba99bcc41fef404d", size = 61958, upload-time = "2026-04-02T09:28:37.794Z" },][[package]]name = "click"version = "8.3.1"327 unmodified lines{ url = "https://files.pythonhosted.org/packages/e6/ab/fb21f4c939bb440104cc2b396d3be1d9b7a9fd3c6c2a53d98c45b3d7c954/fsspec-2026.2.0-py3-none-any.whl", hash = "sha256:98de475b5cb3bd66bedd5c4679e87b4fdfe1a3bf4d707b151b3c07e58c9a2437", size = 202505, upload-time = "2026-02-05T21:50:51.819Z" },][[package]]name = "gdown"version = "6.0.0"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "beautifulsoup4" },{ name = "filelock" },{ name = "requests", extra = ["socks"] },{ name = "tqdm" },{ name = "typing-extensions", marker = "python_full_version < '3.12'" },]sdist = { url = "https://files.pythonhosted.org/packages/72/01/9e0280ba321f73295374765dc3c0b1e03058188a592a48a321376f9eb092/gdown-6.0.0.tar.gz", hash = "sha256:1f1f735a174ef3599fca95786aafac1219b9d85d4c729ccb95e674996c47fd44", size = 262729, upload-time = "2026-04-12T06:37:40.182Z" }wheels = [{ url = "https://files.pythonhosted.org/packages/91/fd/a382bb6684b1fdbe5cd19aa980a04a67f6c91efd0e1e627f93614fe2d24e/gdown-6.0.0-py3-none-any.whl", hash = "sha256:c82d39a6b09ed7778012515c2fa4ab4dc36d7789300cd0b16b87d3a3e4a09955", size = 18243, upload-time = "2026-04-12T06:37:38.209Z" },][[package]]name = "grad-cam"version = "1.5.5"176 unmodified lines{ url = "https://files.pythonhosted.org/packages/0e/61/66938bbb5fc52dbdf84594873d5b51fb1f7c7794e9c0f5bd885f30bc507b/idna-3.11-py3-none-any.whl", hash = "sha256:771a87f49d9defaf64091e6e6fe9c18d4833f140bd19464795bc32d966ca37ea", size = 71008, upload-time = "2025-10-12T14:55:18.883Z" },][[package]]name = "iniconfig"version = "2.3.0"source = { registry = "https://pypi.org/simple" }sdist = { url = "https://files.pythonhosted.org/packages/72/34/14ca021ce8e5dfedc35312d08ba8bf51fdd999c576889fc2c24cb97f4f10/iniconfig-2.3.0.tar.gz", hash = "sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730", size = 20503, upload-time = "2025-10-18T21:55:43.219Z" }wheels = [{ url = "https://files.pythonhosted.org/packages/cb/b1/3846dd7f199d53cb17f49cba7e651e9ce294d8497c8c150530ed11865bb8/iniconfig-2.3.0-py3-none-any.whl", hash = "sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12", size = 7484, upload-time = "2025-10-18T21:55:41.639Z" },][[package]]name = "jinja2"version = "3.1.6"985 unmodified lines{ url = "https://files.pythonhosted.org/packages/2d/71/64e9b1c7f04ae0027f788a248e6297d7fcc29571371fe7d45495a78172c0/pillow-12.1.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:75af0b4c229ac519b155028fa1be632d812a519abba9b46b20e50c6caa184f19", size = 7029809, upload-time = "2026-01-02T09:13:26.541Z" },][[package]]name = "pluggy"version = "1.6.0"source = { registry = "https://pypi.org/simple" }sdist = { url = "https://files.pythonhosted.org/packages/f9/e2/3e91f31a7d2b083fe6ef3fa267035b518369d9511ffab804f839851d2779/pluggy-1.6.0.tar.gz", hash = "sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3", size = 69412, upload-time = "2025-05-15T12:30:07.975Z" }wheels = [{ url = "https://files.pythonhosted.org/packages/54/20/4d324d65cc6d9205fabedc306948156824eb9f0ee1633355a8f7ec5c66bf/pluggy-1.6.0-py3-none-any.whl", hash = "sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746", size = 20538, upload-time = "2025-05-15T12:30:06.134Z" },][[package]]name = "pydantic"version = "2.12.5"154 unmodified lines{ url = "https://files.pythonhosted.org/packages/10/bd/c038d7cc38edc1aa5bf91ab8068b63d4308c66c4c8bb3cbba7dfbc049f9c/pyparsing-3.3.2-py3-none-any.whl", hash = "sha256:850ba148bd908d7e2411587e247a1e4f0327839c40e2e5e6d05a007ecc69911d", size = 122781, upload-time = "2026-01-21T03:57:55.912Z" },][[package]]name = "pysocks"version = "1.7.1"source = { registry = "https://pypi.org/simple" }sdist = { url = "https://files.pythonhosted.org/packages/bd/11/293dd436aea955d45fc4e8a35b6ae7270f5b8e00b53cf6c024c83b657a11/PySocks-1.7.1.tar.gz", hash = "sha256:3f8804571ebe159c380ac6de37643bb4685970655d3bba243530d6558b799aa0", size = 284429, upload-time = "2019-09-20T02:07:35.714Z" }wheels = [{ url = "https://files.pythonhosted.org/packages/8d/59/b4572118e098ac8e46e399a1dd0f2d85403ce8bbaad9ec79373ed6badaf9/PySocks-1.7.1-py3-none-any.whl", hash = "sha256:2725bd0a9925919b9b51739eea5f9e2bae91e83288108a9ad338b2e3a4435ee5", size = 16725, upload-time = "2019-09-20T02:06:22.938Z" },][[package]]name = "pytest"version = "9.0.3"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "colorama", marker = "sys_platform == 'win32'" },{ name = "exceptiongroup", marker = "python_full_version < '3.11'" },{ name = "iniconfig" },{ name = "packaging" },{ name = "pluggy" },{ name = "pygments" },{ name = "tomli", marker = "python_full_version < '3.11'" },]sdist = { url = "https://files.pythonhosted.org/packages/7d/0d/549bd94f1a0a402dc8cf64563a117c0f3765662e2e668477624baeec44d5/pytest-9.0.3.tar.gz", hash = "sha256:b86ada508af81d19edeb213c681b1d48246c1a91d304c6c81a427674c17eb91c", size = 1572165, upload-time = "2026-04-07T17:16:18.027Z" }wheels = [{ url = "https://files.pythonhosted.org/packages/d4/24/a372aaf5c9b7208e7112038812994107bc65a84cd00e0354a88c2c77a617/pytest-9.0.3-py3-none-any.whl", hash = "sha256:2c5efc453d45394fdd706ade797c0a81091eccd1d6e4bccfcd476e2b8e0ab5d9", size = 375249, upload-time = "2026-04-07T17:16:16.13Z" },][[package]]name = "python-dateutil"version = "2.9.0.post0"88 unmodified lines{ url = "https://files.pythonhosted.org/packages/f1/12/de94a39c2ef588c7e6455cfbe7343d3b2dc9d6b6b2f40c4c6565744c873d/pyyaml-6.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:ebc55a14a21cb14062aa4162f906cd962b28e2e9ea38f9b4391244cd8de4ae0b", size = 149341, upload-time = "2025-09-25T21:32:56.828Z" },][[package]]name = "requests"version = "2.33.1"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "certifi" },{ name = "charset-normalizer" },{ name = "idna" },{ name = "urllib3" },]sdist = { url = "https://files.pythonhosted.org/packages/5f/a4/98b9c7c6428a668bf7e42ebb7c79d576a1c3c1e3ae2d47e674b468388871/requests-2.33.1.tar.gz", hash = "sha256:18817f8c57c6263968bc123d237e3b8b08ac046f5456bd1e307ee8f4250d3517", size = 134120, upload-time = "2026-03-30T16:09:15.531Z" }wheels = [{ url = "https://files.pythonhosted.org/packages/d7/8e/7540e8a2036f79a125c1d2ebadf69ed7901608859186c856fa0388ef4197/requests-2.33.1-py3-none-any.whl", hash = "sha256:4e6d1ef462f3626a1f0a0a9c42dd93c63bad33f9f1c1937509b8c5c8718ab56a", size = 64947, upload-time = "2026-03-30T16:09:13.83Z" },][package.optional-dependencies]socks = [{ name = "pysocks" },][[package]]name = "rich"version = "14.3.2"310 unmodified lines{ url = "https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl", hash = "sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274", size = 11050, upload-time = "2024-12-04T17:35:26.475Z" },][[package]]name = "soupsieve"version = "2.8.3"source = { registry = "https://pypi.org/simple" }sdist = { url = "https://files.pythonhosted.org/packages/7b/ae/2d9c981590ed9999a0d91755b47fc74f74de286b0f5cee14c9269041e6c4/soupsieve-2.8.3.tar.gz", hash = "sha256:3267f1eeea4251fb42728b6dfb746edc9acaffc4a45b27e19450b676586e8349", size = 118627, upload-time = "2026-01-20T04:27:02.457Z" }wheels = [{ url = "https://files.pythonhosted.org/packages/46/2c/1462b1d0a634697ae9e55b3cecdcb64788e8b7d63f54d923fcd0bb140aed/soupsieve-2.8.3-py3-none-any.whl", hash = "sha256:ed64f2ba4eebeab06cc4962affce381647455978ffc1e36bb79a545b91f45a95", size = 37016, upload-time = "2026-01-20T04:27:01.012Z" },][[package]]name = "starlette"version = "0.52.1"28 unmodified lines{ url = "https://files.pythonhosted.org/packages/32/d5/f9a850d79b0851d1d4ef6456097579a9005b31fea68726a4ae5f2d82ddd9/threadpoolctl-3.6.0-py3-none-any.whl", hash = "sha256:43a0b8fd5a2928500110039e43a5eed8480b918967083ea48dc3ab9f13c4a7fb", size = 18638, upload-time = "2025-03-13T13:49:21.846Z" },][[package]]name = "tomli"version = "2.4.1"source = { registry = "https://pypi.org/simple" }sdist = { url = "https://files.pythonhosted.org/packages/22/de/48c59722572767841493b26183a0d1cc411d54fd759c5607c4590b6563a6/tomli-2.4.1.tar.gz", hash = "sha256:7c7e1a961a0b2f2472c1ac5b69affa0ae1132c39adcb67aba98568702b9cc23f", size = 17543, upload-time = "2026-03-25T20:22:03.828Z" }wheels = [{ url = "https://files.pythonhosted.org/packages/f4/11/db3d5885d8528263d8adc260bb2d28ebf1270b96e98f0e0268d32b8d9900/tomli-2.4.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f8f0fc26ec2cc2b965b7a3b87cd19c5c6b8c5e5f436b984e85f486d652285c30", size = 154704, upload-time = "2026-03-25T20:21:10.473Z" },{ url = "https://files.pythonhosted.org/packages/6d/f7/675db52c7e46064a9aa928885a9b20f4124ecb9bc2e1ce74c9106648d202/tomli-2.4.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:4ab97e64ccda8756376892c53a72bd1f964e519c77236368527f758fbc36a53a", size = 149454, upload-time = "2026-03-25T20:21:12.036Z" },{ url = "https://files.pythonhosted.org/packages/61/71/81c50943cf953efa35bce7646caab3cf457a7d8c030b27cfb40d7235f9ee/tomli-2.4.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:96481a5786729fd470164b47cdb3e0e58062a496f455ee41b4403be77cb5a076", size = 237561, upload-time = "2026-03-25T20:21:13.098Z" },{ url = "https://files.pythonhosted.org/packages/48/c1/f41d9cb618acccca7df82aaf682f9b49013c9397212cb9f53219e3abac37/tomli-2.4.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5a881ab208c0baf688221f8cecc5401bd291d67e38a1ac884d6736cbcd8247e9", size = 243824, upload-time = "2026-03-25T20:21:14.569Z" },{ url = "https://files.pythonhosted.org/packages/22/e4/5a816ecdd1f8ca51fb756ef684b90f2780afc52fc67f987e3c61d800a46d/tomli-2.4.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:47149d5bd38761ac8be13a84864bf0b7b70bc051806bc3669ab1cbc56216b23c", size = 242227, upload-time = "2026-03-25T20:21:15.712Z" },{ url = "https://files.pythonhosted.org/packages/6b/49/2b2a0ef529aa6eec245d25f0c703e020a73955ad7edf73e7f54ddc608aa5/tomli-2.4.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ec9bfaf3ad2df51ace80688143a6a4ebc09a248f6ff781a9945e51937008fcbc", size = 247859, upload-time = "2026-03-25T20:21:17.001Z" },{ url = "https://files.pythonhosted.org/packages/83/bd/6c1a630eaca337e1e78c5903104f831bda934c426f9231429396ce3c3467/tomli-2.4.1-cp311-cp311-win32.whl", hash = "sha256:ff2983983d34813c1aeb0fa89091e76c3a22889ee83ab27c5eeb45100560c049", size = 97204, upload-time = "2026-03-25T20:21:18.079Z" },{ url = "https://files.pythonhosted.org/packages/42/59/71461df1a885647e10b6bb7802d0b8e66480c61f3f43079e0dcd315b3954/tomli-2.4.1-cp311-cp311-win_amd64.whl", hash = "sha256:5ee18d9ebdb417e384b58fe414e8d6af9f4e7a0ae761519fb50f721de398dd4e", size = 108084, upload-time = "2026-03-25T20:21:18.978Z" },{ url = "https://files.pythonhosted.org/packages/b8/83/dceca96142499c069475b790e7913b1044c1a4337e700751f48ed723f883/tomli-2.4.1-cp311-cp311-win_arm64.whl", hash = "sha256:c2541745709bad0264b7d4705ad453b76ccd191e64aa6f0fc66b69a293a45ece", size = 95285, upload-time = "2026-03-25T20:21:20.309Z" },{ url = "https://files.pythonhosted.org/packages/c1/ba/42f134a3fe2b370f555f44b1d72feebb94debcab01676bf918d0cb70e9aa/tomli-2.4.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:c742f741d58a28940ce01d58f0ab2ea3ced8b12402f162f4d534dfe18ba1cd6a", size = 155924, upload-time = "2026-03-25T20:21:21.626Z" },{ url = "https://files.pythonhosted.org/packages/dc/c7/62d7a17c26487ade21c5422b646110f2162f1fcc95980ef7f63e73c68f14/tomli-2.4.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7f86fd587c4ed9dd76f318225e7d9b29cfc5a9d43de44e5754db8d1128487085", size = 150018, upload-time = "2026-03-25T20:21:23.002Z" },{ url = "https://files.pythonhosted.org/packages/5c/05/79d13d7c15f13bdef410bdd49a6485b1c37d28968314eabee452c22a7fda/tomli-2.4.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ff18e6a727ee0ab0388507b89d1bc6a22b138d1e2fa56d1ad494586d61d2eae9", size = 244948, upload-time = "2026-03-25T20:21:24.04Z" },{ url = "https://files.pythonhosted.org/packages/10/90/d62ce007a1c80d0b2c93e02cab211224756240884751b94ca72df8a875ca/tomli-2.4.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:136443dbd7e1dee43c68ac2694fde36b2849865fa258d39bf822c10e8068eac5", size = 253341, upload-time = "2026-03-25T20:21:25.177Z" },{ url = "https://files.pythonhosted.org/packages/1a/7e/caf6496d60152ad4ed09282c1885cca4eea150bfd007da84aea07bcc0a3e/tomli-2.4.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:5e262d41726bc187e69af7825504c933b6794dc3fbd5945e41a79bb14c31f585", size = 248159, upload-time = "2026-03-25T20:21:26.364Z" },{ url = "https://files.pythonhosted.org/packages/99/e7/c6f69c3120de34bbd882c6fba7975f3d7a746e9218e56ab46a1bc4b42552/tomli-2.4.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:5cb41aa38891e073ee49d55fbc7839cfdb2bc0e600add13874d048c94aadddd1", size = 253290, upload-time = "2026-03-25T20:21:27.46Z" },{ url = "https://files.pythonhosted.org/packages/d6/2f/4a3c322f22c5c66c4b836ec58211641a4067364f5dcdd7b974b4c5da300c/tomli-2.4.1-cp312-cp312-win32.whl", hash = "sha256:da25dc3563bff5965356133435b757a795a17b17d01dbc0f42fb32447ddfd917", size = 98141, upload-time = "2026-03-25T20:21:28.492Z" },{ url = "https://files.pythonhosted.org/packages/24/22/4daacd05391b92c55759d55eaee21e1dfaea86ce5c571f10083360adf534/tomli-2.4.1-cp312-cp312-win_amd64.whl", hash = "sha256:52c8ef851d9a240f11a88c003eacb03c31fc1c9c4ec64a99a0f922b93874fda9", size = 108847, upload-time = "2026-03-25T20:21:29.386Z" },{ url = "https://files.pythonhosted.org/packages/68/fd/70e768887666ddd9e9f5d85129e84910f2db2796f9096aa02b721a53098d/tomli-2.4.1-cp312-cp312-win_arm64.whl", hash = "sha256:f758f1b9299d059cc3f6546ae2af89670cb1c4d48ea29c3cacc4fe7de3058257", size = 95088, upload-time = "2026-03-25T20:21:30.677Z" },{ url = "https://files.pythonhosted.org/packages/07/06/b823a7e818c756d9a7123ba2cda7d07bc2dd32835648d1a7b7b7a05d848d/tomli-2.4.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:36d2bd2ad5fb9eaddba5226aa02c8ec3fa4f192631e347b3ed28186d43be6b54", size = 155866, upload-time = "2026-03-25T20:21:31.65Z" },{ url = "https://files.pythonhosted.org/packages/14/6f/12645cf7f08e1a20c7eb8c297c6f11d31c1b50f316a7e7e1e1de6e2e7b7e/tomli-2.4.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:eb0dc4e38e6a1fd579e5d50369aa2e10acfc9cace504579b2faabb478e76941a", size = 149887, upload-time = "2026-03-25T20:21:33.028Z" },{ url = "https://files.pythonhosted.org/packages/5c/e0/90637574e5e7212c09099c67ad349b04ec4d6020324539297b634a0192b0/tomli-2.4.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c7f2c7f2b9ca6bdeef8f0fa897f8e05085923eb091721675170254cbc5b02897", size = 243704, upload-time = "2026-03-25T20:21:34.51Z" },{ url = "https://files.pythonhosted.org/packages/10/8f/d3ddb16c5a4befdf31a23307f72828686ab2096f068eaf56631e136c1fdd/tomli-2.4.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f3c6818a1a86dd6dca7ddcaaf76947d5ba31aecc28cb1b67009a5877c9a64f3f", size = 251628, upload-time = "2026-03-25T20:21:36.012Z" },{ url = "https://files.pythonhosted.org/packages/e3/f1/dbeeb9116715abee2485bf0a12d07a8f31af94d71608c171c45f64c0469d/tomli-2.4.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:d312ef37c91508b0ab2cee7da26ec0b3ed2f03ce12bd87a588d771ae15dcf82d", size = 247180, upload-time = "2026-03-25T20:21:37.136Z" },{ url = "https://files.pythonhosted.org/packages/d3/74/16336ffd19ed4da28a70959f92f506233bd7cfc2332b20bdb01591e8b1d1/tomli-2.4.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:51529d40e3ca50046d7606fa99ce3956a617f9b36380da3b7f0dd3dd28e68cb5", size = 251674, upload-time = "2026-03-25T20:21:38.298Z" },{ url = "https://files.pythonhosted.org/packages/16/f9/229fa3434c590ddf6c0aa9af64d3af4b752540686cace29e6281e3458469/tomli-2.4.1-cp313-cp313-win32.whl", hash = "sha256:2190f2e9dd7508d2a90ded5ed369255980a1bcdd58e52f7fe24b8162bf9fedbd", size = 97976, upload-time = "2026-03-25T20:21:39.316Z" },{ url = "https://files.pythonhosted.org/packages/6a/1e/71dfd96bcc1c775420cb8befe7a9d35f2e5b1309798f009dca17b7708c1e/tomli-2.4.1-cp313-cp313-win_amd64.whl", hash = "sha256:8d65a2fbf9d2f8352685bc1364177ee3923d6baf5e7f43ea4959d7d8bc326a36", size = 108755, upload-time = "2026-03-25T20:21:40.248Z" },{ url = "https://files.pythonhosted.org/packages/83/7a/d34f422a021d62420b78f5c538e5b102f62bea616d1d75a13f0a88acb04a/tomli-2.4.1-cp313-cp313-win_arm64.whl", hash = "sha256:4b605484e43cdc43f0954ddae319fb75f04cc10dd80d830540060ee7cd0243cd", size = 95265, upload-time = "2026-03-25T20:21:41.219Z" },{ url = "https://files.pythonhosted.org/packages/3c/fb/9a5c8d27dbab540869f7c1f8eb0abb3244189ce780ba9cd73f3770662072/tomli-2.4.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:fd0409a3653af6c147209d267a0e4243f0ae46b011aa978b1080359fddc9b6cf", size = 155726, upload-time = "2026-03-25T20:21:42.23Z" },{ url = "https://files.pythonhosted.org/packages/62/05/d2f816630cc771ad836af54f5001f47a6f611d2d39535364f148b6a92d6b/tomli-2.4.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:a120733b01c45e9a0c34aeef92bf0cf1d56cfe81ed9d47d562f9ed591a9828ac", size = 149859, upload-time = "2026-03-25T20:21:43.386Z" },{ url = "https://files.pythonhosted.org/packages/ce/48/66341bdb858ad9bd0ceab5a86f90eddab127cf8b046418009f2125630ecb/tomli-2.4.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:559db847dc486944896521f68d8190be1c9e719fced785720d2216fe7022b662", size = 244713, upload-time = "2026-03-25T20:21:44.474Z" },{ url = "https://files.pythonhosted.org/packages/df/6d/c5fad00d82b3c7a3ab6189bd4b10e60466f22cfe8a08a9394185c8a8111c/tomli-2.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:01f520d4f53ef97964a240a035ec2a869fe1a37dde002b57ebc4417a27ccd853", size = 252084, upload-time = "2026-03-25T20:21:45.62Z" },{ url = "https://files.pythonhosted.org/packages/00/71/3a69e86f3eafe8c7a59d008d245888051005bd657760e96d5fbfb0b740c2/tomli-2.4.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7f94b27a62cfad8496c8d2513e1a222dd446f095fca8987fceef261225538a15", size = 247973, upload-time = "2026-03-25T20:21:46.937Z" },{ url = "https://files.pythonhosted.org/packages/67/50/361e986652847fec4bd5e4a0208752fbe64689c603c7ae5ea7cb16b1c0ca/tomli-2.4.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:ede3e6487c5ef5d28634ba3f31f989030ad6af71edfb0055cbbd14189ff240ba", size = 256223, upload-time = "2026-03-25T20:21:48.467Z" },{ url = "https://files.pythonhosted.org/packages/8c/9a/b4173689a9203472e5467217e0154b00e260621caa227b6fa01feab16998/tomli-2.4.1-cp314-cp314-win32.whl", hash = "sha256:3d48a93ee1c9b79c04bb38772ee1b64dcf18ff43085896ea460ca8dec96f35f6", size = 98973, upload-time = "2026-03-25T20:21:49.526Z" },{ url = "https://files.pythonhosted.org/packages/14/58/640ac93bf230cd27d002462c9af0d837779f8773bc03dee06b5835208214/tomli-2.4.1-cp314-cp314-win_amd64.whl", hash = "sha256:88dceee75c2c63af144e456745e10101eb67361050196b0b6af5d717254dddf7", size = 109082, upload-time = "2026-03-25T20:21:50.506Z" },{ url = "https://files.pythonhosted.org/packages/d5/2f/702d5e05b227401c1068f0d386d79a589bb12bf64c3d2c72ce0631e3bc49/tomli-2.4.1-cp314-cp314-win_arm64.whl", hash = "sha256:b8c198f8c1805dc42708689ed6864951fd2494f924149d3e4bce7710f8eb5232", size = 96490, upload-time = "2026-03-25T20:21:51.474Z" },{ url = "https://files.pythonhosted.org/packages/45/4b/b877b05c8ba62927d9865dd980e34a755de541eb65fffba52b4cc495d4d2/tomli-2.4.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:d4d8fe59808a54658fcc0160ecfb1b30f9089906c50b23bcb4c69eddc19ec2b4", size = 164263, upload-time = "2026-03-25T20:21:52.543Z" },{ url = "https://files.pythonhosted.org/packages/24/79/6ab420d37a270b89f7195dec5448f79400d9e9c1826df982f3f8e97b24fd/tomli-2.4.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7008df2e7655c495dd12d2a4ad038ff878d4ca4b81fccaf82b714e07eae4402c", size = 160736, upload-time = "2026-03-25T20:21:53.674Z" },{ url = "https://files.pythonhosted.org/packages/02/e0/3630057d8eb170310785723ed5adcdfb7d50cb7e6455f85ba8a3deed642b/tomli-2.4.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1d8591993e228b0c930c4bb0db464bdad97b3289fb981255d6c9a41aedc84b2d", size = 270717, upload-time = "2026-03-25T20:21:55.129Z" },{ url = "https://files.pythonhosted.org/packages/7a/b4/1613716072e544d1a7891f548d8f9ec6ce2faf42ca65acae01d76ea06bb0/tomli-2.4.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:734e20b57ba95624ecf1841e72b53f6e186355e216e5412de414e3c51e5e3c41", size = 278461, upload-time = "2026-03-25T20:21:56.228Z" },{ url = "https://files.pythonhosted.org/packages/05/38/30f541baf6a3f6df77b3df16b01ba319221389e2da59427e221ef417ac0c/tomli-2.4.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8a650c2dbafa08d42e51ba0b62740dae4ecb9338eefa093aa5c78ceb546fcd5c", size = 274855, upload-time = "2026-03-25T20:21:57.653Z" },{ url = "https://files.pythonhosted.org/packages/77/a3/ec9dd4fd2c38e98de34223b995a3b34813e6bdadf86c75314c928350ed14/tomli-2.4.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:504aa796fe0569bb43171066009ead363de03675276d2d121ac1a4572397870f", size = 283144, upload-time = "2026-03-25T20:21:59.089Z" },{ url = "https://files.pythonhosted.org/packages/ef/be/605a6261cac79fba2ec0c9827e986e00323a1945700969b8ee0b30d85453/tomli-2.4.1-cp314-cp314t-win32.whl", hash = "sha256:b1d22e6e9387bf4739fbe23bfa80e93f6b0373a7f1b96c6227c32bef95a4d7a8", size = 108683, upload-time = "2026-03-25T20:22:00.214Z" },{ url = "https://files.pythonhosted.org/packages/12/64/da524626d3b9cc40c168a13da8335fe1c51be12c0a63685cc6db7308daae/tomli-2.4.1-cp314-cp314t-win_amd64.whl", hash = "sha256:2c1c351919aca02858f740c6d33adea0c5deea37f9ecca1cc1ef9e884a619d26", size = 121196, upload-time = "2026-03-25T20:22:01.169Z" },{ url = "https://files.pythonhosted.org/packages/5a/cd/e80b62269fc78fc36c9af5a6b89c835baa8af28ff5ad28c7028d60860320/tomli-2.4.1-cp314-cp314t-win_arm64.whl", hash = "sha256:eab21f45c7f66c13f2a9e0e1535309cee140182a9cdae1e041d02e47291e8396", size = 100393, upload-time = "2026-03-25T20:22:02.137Z" },{ url = "https://files.pythonhosted.org/packages/7b/61/cceae43728b7de99d9b847560c262873a1f6c98202171fd5ed62640b494b/tomli-2.4.1-py3-none-any.whl", hash = "sha256:0d85819802132122da43cb86656f8d1f8c6587d54ae7dcaf30e90533028b49fe", size = 14583, upload-time = "2026-03-25T20:22:03.012Z" },][[package]]name = "tomlkit"version = "0.13.3"39 unmodified lines{ url = "https://files.pythonhosted.org/packages/0f/8b/4b61d6e13f7108f36910df9ab4b58fd389cc2520d54d81b88660804aad99/torch-2.10.0-2-cp311-none-macosx_11_0_arm64.whl", hash = "sha256:418997cb02d0a0f1497cf6a09f63166f9f5df9f3e16c8a716ab76a72127c714f", size = 79423467, upload-time = "2026-02-10T21:44:48.711Z" },{ url = "https://files.pythonhosted.org/packages/d3/54/a2ba279afcca44bbd320d4e73675b282fcee3d81400ea1b53934efca6462/torch-2.10.0-2-cp312-none-macosx_11_0_arm64.whl", hash = "sha256:13ec4add8c3faaed8d13e0574f5cd4a323c11655546f91fbe6afa77b57423574", size = 79498202, upload-time = "2026-02-10T21:44:52.603Z" },{ url = "https://files.pythonhosted.org/packages/ec/23/2c9fe0c9c27f7f6cb865abcea8a4568f29f00acaeadfc6a37f6801f84cb4/torch-2.10.0-2-cp313-none-macosx_11_0_arm64.whl", hash = "sha256:e521c9f030a3774ed770a9c011751fb47c4d12029a3d6522116e48431f2ff89e", size = 79498254, upload-time = "2026-02-10T21:44:44.095Z" },{ url = "https://files.pythonhosted.org/packages/16/ee/efbd56687be60ef9af0c9c0ebe106964c07400eade5b0af8902a1d8cd58c/torch-2.10.0-3-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:a1ff626b884f8c4e897c4c33782bdacdff842a165fee79817b1dd549fdda1321", size = 915510070, upload-time = "2026-03-11T14:16:39.386Z" },{ url = "https://files.pythonhosted.org/packages/36/ab/7b562f1808d3f65414cd80a4f7d4bb00979d9355616c034c171249e1a303/torch-2.10.0-3-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:ac5bdcbb074384c66fa160c15b1ead77839e3fe7ed117d667249afce0acabfac", size = 915518691, upload-time = "2026-03-11T14:15:43.147Z" },{ url = "https://files.pythonhosted.org/packages/b3/7a/abada41517ce0011775f0f4eacc79659bc9bc6c361e6bfe6f7052a6b9363/torch-2.10.0-3-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:98c01b8bb5e3240426dcde1446eed6f40c778091c8544767ef1168fc663a05a6", size = 915622781, upload-time = "2026-03-11T14:17:11.354Z" },{ url = "https://files.pythonhosted.org/packages/ab/c6/4dfe238342ffdcec5aef1c96c457548762d33c40b45a1ab7033bb26d2ff2/torch-2.10.0-3-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:80b1b5bfe38eb0e9f5ff09f206dcac0a87aadd084230d4a36eea5ec5232c115b", size = 915627275, upload-time = "2026-03-11T14:16:11.325Z" },{ url = "https://files.pythonhosted.org/packages/d8/f0/72bf18847f58f877a6a8acf60614b14935e2f156d942483af1ffc081aea0/torch-2.10.0-3-cp313-cp313t-manylinux_2_28_x86_64.whl", hash = "sha256:46b3574d93a2a8134b3f5475cfb98e2eb46771794c57015f6ad1fb795ec25e49", size = 915523474, upload-time = "2026-03-11T14:17:44.422Z" },{ url = "https://files.pythonhosted.org/packages/f4/39/590742415c3030551944edc2ddc273ea1fdfe8ffb2780992e824f1ebee98/torch-2.10.0-3-cp314-cp314-manylinux_2_28_x86_64.whl", hash = "sha256:b1d5e2aba4eb7f8e87fbe04f86442887f9167a35f092afe4c237dfcaaef6e328", size = 915632474, upload-time = "2026-03-11T14:15:13.666Z" },{ url = "https://files.pythonhosted.org/packages/b6/8e/34949484f764dde5b222b7fe3fede43e4a6f0da9d7f8c370bb617d629ee2/torch-2.10.0-3-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:0228d20b06701c05a8f978357f657817a4a63984b0c90745def81c18aedfa591", size = 915523882, upload-time = "2026-03-11T14:14:46.311Z" },{ url = "https://files.pythonhosted.org/packages/0c/1a/c61f36cfd446170ec27b3a4984f072fd06dab6b5d7ce27e11adb35d6c838/torch-2.10.0-cp310-cp310-manylinux_2_28_aarch64.whl", hash = "sha256:5276fa790a666ee8becaffff8acb711922252521b28fbce5db7db5cf9cb2026d", size = 145992962, upload-time = "2026-01-21T16:24:14.04Z" },{ url = "https://files.pythonhosted.org/packages/b5/60/6662535354191e2d1555296045b63e4279e5a9dbad49acf55a5d38655a39/torch-2.10.0-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:aaf663927bcd490ae971469a624c322202a2a1e68936eb952535ca4cd3b90444", size = 915599237, upload-time = "2026-01-21T16:23:25.497Z" },{ url = "https://files.pythonhosted.org/packages/40/b8/66bbe96f0d79be2b5c697b2e0b187ed792a15c6c4b8904613454651db848/torch-2.10.0-cp310-cp310-win_amd64.whl", hash = "sha256:a4be6a2a190b32ff5c8002a0977a25ea60e64f7ba46b1be37093c141d9c49aeb", size = 113720931, upload-time = "2026-01-21T16:24:23.743Z" },158 unmodified lines{ url = "https://files.pythonhosted.org/packages/c7/b0/003792df09decd6849a5e39c28b513c06e84436a54440380862b5aeff25d/tzdata-2025.3-py2.py3-none-any.whl", hash = "sha256:06a47e5700f3081aab02b2e513160914ff0694bce9947d6b76ebd6bf57cfc5d1", size = 348521, upload-time = "2025-12-13T17:45:33.889Z" },][[package]]name = "urllib3"version = "2.7.0"source = { registry = "https://pypi.org/simple" }sdist = { url = "https://files.pythonhosted.org/packages/53/0c/06f8b233b8fd13b9e5ee11424ef85419ba0d8ba0b3138bf360be2ff56953/urllib3-2.7.0.tar.gz", hash = "sha256:231e0ec3b63ceb14667c67be60f2f2c40a518cb38b03af60abc813da26505f4c", size = 433602, upload-time = "2026-05-07T16:13:18.596Z" }wheels = [{ url = "https://files.pythonhosted.org/packages/7f/3e/5db95bcf282c52709639744ca2a8b149baccf648e39c8cc87553df9eae0c/urllib3-2.7.0-py3-none-any.whl", hash = "sha256:9fb4c81ebbb1ce9531cce37674bbc6f1360472bc18ca9a553ede278ef7276897", size = 131087, upload-time = "2026-05-07T16:13:17.151Z" },][[package]]name = "uvicorn"version = "0.40.0"13 unmodified linesversion = "0.1.0"source = { virtual = "." }dependencies = [{ name = "gdown" },{ name = "grad-cam" },{ name = "gradio" },{ name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" },3 unmodified lines{ name = "torchvision" },][package.dev-dependencies]dev = [{ name = "pytest" },][package.metadata]requires-dist = [{ name = "gdown", specifier = ">=6.0.0" },{ name = "grad-cam", specifier = ">=1.5.5" },{ name = "gradio", specifier = ">=6.5.1" },{ name = "numpy", specifier = ">=2.2.6" },1 unmodified line{ name = "torch", specifier = ">=2.10.0" },{ name = "torchvision", specifier = ">=0.25.0" },][package.metadata.requires-dev]dev = [{ name = "pytest", specifier = ">=9.0.3" }]
pyproject.toml+11
requirements.txt+20
src/inference.py+325-42
src/ui.py+458-29
src/utils.pyAdded+233
tests/test_inference_smoke.py+74-1
uv.lock+288