Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
9f09a37
1
Parent(s):
66f3168
Handle result path again
Browse files
app.py
CHANGED
@@ -516,9 +516,10 @@ def generate_ai_bg(input_img, prompt):
|
|
516 |
|
517 |
relight_img_path = result[1]
|
518 |
|
519 |
-
response = requests.get(relight_img_path, stream=True)
|
|
|
520 |
|
521 |
-
relight_img = Image.open(BytesIO(response.content)).convert("RGBA")
|
522 |
|
523 |
return relight_img
|
524 |
|
|
|
516 |
|
517 |
relight_img_path = result[1]
|
518 |
|
519 |
+
# response = requests.get(relight_img_path, stream=True)
|
520 |
+
relight_img = Image.open(relight_img_path).convert("RGBA")
|
521 |
|
522 |
+
# relight_img = Image.open(BytesIO(response.content)).convert("RGBA")
|
523 |
|
524 |
return relight_img
|
525 |
|