cr8 commited on
Commit
d396459
·
verified ·
1 Parent(s): 10c2f3d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
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"Error: {e}" # Display error message in preview pane
 
 
 
 
 
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,