Spaces:
Sleeping
Sleeping
Muhammad Waqas
commited on
Commit
·
4fbcde7
1
Parent(s):
0502aa5
Added OmniGen Image to Image
Browse files
app.py
CHANGED
|
@@ -62,6 +62,10 @@ def save_base64_image(b64_string):
|
|
| 62 |
|
| 63 |
# Return the path and URL of the saved image
|
| 64 |
image_url = f"https://gosign-de-comfyui-api.hf.space/{image_path}"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
return image_path, image_url
|
| 66 |
|
| 67 |
except Exception as e:
|
|
|
|
| 62 |
|
| 63 |
# Return the path and URL of the saved image
|
| 64 |
image_url = f"https://gosign-de-comfyui-api.hf.space/{image_path}"
|
| 65 |
+
|
| 66 |
+
print(f"Image path (local): {image_path}", flush=True)
|
| 67 |
+
print(f"Image URL (public): {image_url}", flush=True)
|
| 68 |
+
|
| 69 |
return image_path, image_url
|
| 70 |
|
| 71 |
except Exception as e:
|