Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -258,6 +258,7 @@ def store_image_data_in_db(user_id, prompt, aspect_ratio, realism, image_url, th
|
|
| 258 |
except Exception as e:
|
| 259 |
st.error(f"Failed to save image data: {e}")
|
| 260 |
|
|
|
|
| 261 |
#Function to upload image to cloud storage
|
| 262 |
def upload_image_to_storage(image, user_id, is_thumbnail = False):
|
| 263 |
try:
|
|
|
|
| 258 |
except Exception as e:
|
| 259 |
st.error(f"Failed to save image data: {e}")
|
| 260 |
|
| 261 |
+
#Function to upload image to cloud storage
|
| 262 |
#Function to upload image to cloud storage
|
| 263 |
def upload_image_to_storage(image, user_id, is_thumbnail = False):
|
| 264 |
try:
|