Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -94,7 +94,12 @@ with gr.Blocks(title="Sticker Maker") as interface:
|
|
| 94 |
"""
|
| 95 |
except Exception as e:
|
| 96 |
print(f"Error in update_image: {e}") # Log the error
|
| 97 |
-
return f"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 98 |
|
| 99 |
create_btn.click(
|
| 100 |
fn=update_image,
|
|
|
|
| 94 |
"""
|
| 95 |
except Exception as e:
|
| 96 |
print(f"Error in update_image: {e}") # Log the error
|
| 97 |
+
return f"""
|
| 98 |
+
<div style="position: relative;">
|
| 99 |
+
Error: {e}
|
| 100 |
+
</div>
|
| 101 |
+
"""
|
| 102 |
+
|
| 103 |
|
| 104 |
create_btn.click(
|
| 105 |
fn=update_image,
|