Skip to content

Commit

Permalink
fix: ruff lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
aatmanvaidya committed Jan 7, 2025
1 parent 6a4df81 commit 81b871d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
16 changes: 8 additions & 8 deletions examples/01_video_embeddings_tsne_plot.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": null,
"id": "41d7b1c6-157e-4c28-b362-2119779c7909",
"metadata": {},
"outputs": [
Expand All @@ -55,14 +55,14 @@
}
],
"source": [
"from feluda import Feluda\n",
"from feluda.models.media_factory import VideoFactory\n",
"# from feluda import Feluda\n",
"# from feluda.models.media_factory import VideoFactory\n",
"\n",
"from huggingface_hub import hf_hub_download\n",
"import cv2\n",
"import tarfile\n",
"import matplotlib.pyplot as plt\n",
"from matplotlib.offsetbox import OffsetImage, AnnotationBbox"
"# from huggingface_hub import hf_hub_download\n",
"# import cv2\n",
"# import tarfile\n",
"# import matplotlib.pyplot as plt\n",
"# from matplotlib.offsetbox import OffsetImage, AnnotationBbox"
]
},
{
Expand Down
3 changes: 2 additions & 1 deletion tests/feluda_unit_tests/models/test_media_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import tempfile
from feluda.models.media_factory import ImageFactory, VideoFactory, AudioFactory


class Test(unittest.TestCase):
# Class variables to store file paths for cleanup
test_files = []
Expand All @@ -19,7 +20,7 @@ def setUpClass(cls):
cls.expected_files = [
"text-in-image-test-hindi.png",
"cat_vid_2mb.mp4.mp4",
"audio.wav.wav"
"audio.wav.wav",
]

@classmethod
Expand Down

0 comments on commit 81b871d

Please sign in to comment.