Skip to content

Commit f30d09f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 6b90016 commit f30d09f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

computer_vision/vision_transformer.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ def demo(url: Optional[str] = None) -> None:
3838
url (Optional[str]): URL of the image. If None, uses default cat image.
3939
"""
4040
if url is None:
41-
url = (
42-
"https://images.unsplash.com/photo-1592194996308-7b43878e84a6"
43-
) # default example image
41+
url = "https://images.unsplash.com/photo-1592194996308-7b43878e84a6" # default example image
4442

4543
try:
4644
response = requests.get(url, timeout=10)

0 commit comments

Comments
 (0)