Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
1f74d1c
1
Parent(s):
04ae857
Remove image resize before sending
Browse files
app.py
CHANGED
|
@@ -442,7 +442,7 @@ def encode_image(image):
|
|
| 442 |
return f"data:image/png;base64,{encoded_image}"
|
| 443 |
|
| 444 |
def generate_ai_bg(input_img, prompt):
|
| 445 |
-
input_img = resize_image(input_img, 0.01)
|
| 446 |
hf_input_img = encode_image(input_img)
|
| 447 |
|
| 448 |
handler = fal_client.submit(
|
|
|
|
| 442 |
return f"data:image/png;base64,{encoded_image}"
|
| 443 |
|
| 444 |
def generate_ai_bg(input_img, prompt):
|
| 445 |
+
# input_img = resize_image(input_img, 0.01)
|
| 446 |
hf_input_img = encode_image(input_img)
|
| 447 |
|
| 448 |
handler = fal_client.submit(
|