Skip to content

Commit

Permalink
tests(sd app): removes dead imports, variable
Browse files Browse the repository at this point in the history
  • Loading branch information
bjacobgordon committed Mar 4, 2025
1 parent ad8833a commit a829dfd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions shortfin/tests/apps/sd/e2e_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,15 @@
import json
import requests
import time
import asyncio
import base64
import pytest
import subprocess
import os
import socket
import sys
import copy
import math
import tempfile
from contextlib import closing

from datetime import datetime as dt
from PIL import Image

BATCH_SIZES = [1]
Expand Down Expand Up @@ -202,7 +198,6 @@ def __del__(self):


def bytes_to_img(bytes, idx=0, width=1024, height=1024):
timestamp = dt.now().strftime("%Y-%m-%d_%H-%M-%S")
image = Image.frombytes(
mode="RGB", size=(width, height), data=base64.b64decode(bytes)
)
Expand Down

0 comments on commit a829dfd

Please sign in to comment.