Rammohan0504 commited on
Commit
f0577e5
·
verified ·
1 Parent(s): 7a63150

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -106,7 +106,10 @@ with gr.Blocks() as demo:
106
 
107
  # JavaScript for managing the pop-up
108
  gr.HTML("""
109
- <div id="popup" style="display: none; position: relative;cursor: pointer; left: 50%; transform: translate(-50%, 0);
 
 
 
110
  background-color: white; padding: 20px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
111
  z-index: 1000; text-align: center; width: 300px;">
112
  <img id="popup-image" src="" alt="" style="width: 100%; height: auto; border-radius: 10px;">
 
106
 
107
  # JavaScript for managing the pop-up
108
  gr.HTML("""
109
+ <div id="popup" style="display: inline-block; position: relative;cursor: pointer;-webkit-user-select: none;
110
+ -moz-user-select: none;
111
+ -ms-user-select: none;
112
+ user-select: none; left: 50%; transform: translate(-50%, 0);
113
  background-color: white; padding: 20px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
114
  z-index: 1000; text-align: center; width: 300px;">
115
  <img id="popup-image" src="" alt="" style="width: 100%; height: auto; border-radius: 10px;">