Skip to content

Commit

Permalink
ruff cleanup - unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
evelynmitchell committed Nov 22, 2023
1 parent 2906576 commit a92aafa
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion playground/models/kosmos2.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from swarms.models.kosmos2 import Kosmos2, Detections
from swarms.models.kosmos2 import Kosmos2
from PIL import Image


Expand Down
1 change: 0 additions & 1 deletion swarms/models/simple_ada.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import os
from openai import OpenAI

client = OpenAI()
Expand Down
1 change: 0 additions & 1 deletion swarms/structs/flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import json
import logging
import random
import re
import time
from typing import Any, Callable, Dict, List, Optional, Tuple

Expand Down
2 changes: 0 additions & 2 deletions swarms/utils/apa.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
from enum import Enum, unique, auto
import abc
import hashlib
import re
from typing import List, Optional
import json
from dataclasses import dataclass, field
Expand Down
1 change: 0 additions & 1 deletion swarms/utils/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

import boto3
import numpy as np
import pandas as pd
import requests


Expand Down
1 change: 0 additions & 1 deletion swarms/utils/pdf_to_text.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import sys
import os

try:
import PyPDF2
Expand Down
1 change: 0 additions & 1 deletion tests/models/bioclip.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Import necessary modules and define fixtures if needed
import os
import pytest
import torch
from PIL import Image
Expand Down

0 comments on commit a92aafa

Please sign in to comment.