Update app.py
Browse files
app.py
CHANGED
|
@@ -18,6 +18,8 @@ def convert(input_img, quality=85):
|
|
| 18 |
|
| 19 |
def send_req(input_img: PIL.Image.Image):
|
| 20 |
|
|
|
|
|
|
|
| 21 |
req = {
|
| 22 |
"input": {
|
| 23 |
"image": convert(input_img),
|
|
|
|
| 18 |
|
| 19 |
def send_req(input_img: PIL.Image.Image):
|
| 20 |
|
| 21 |
+
print("type: ", type(input_img))
|
| 22 |
+
|
| 23 |
req = {
|
| 24 |
"input": {
|
| 25 |
"image": convert(input_img),
|