Rammohan0504 commited on
Commit
fb87a2e
·
verified ·
1 Parent(s): 4d6deff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -107,10 +107,12 @@ popup_js = """
107
  """
108
 
109
  # HTML structure for the popup
110
- <div id="overlay" 'style="position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: none; z-index: 999;'></div>
 
111
  <div id="custom-popup"
112
- 'style="position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 400px; max-width: 90%; background: white; padding: 20px; border-radius: 10px; box-shadow: 0px 4px 6px rgba(0,0,0,0.1); display: none; z-index: 1000; position: relative;'>
113
  </div>
 
114
 
115
 
116
  # Main Gradio app
 
107
  """
108
 
109
  # HTML structure for the popup
110
+ popup_html = """
111
+ <div id="overlay" style="position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: none; z-index: 999;"></div>
112
  <div id="custom-popup"
113
+ style="position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 400px; max-width: 90%; background: white; padding: 20px; border-radius: 10px; box-shadow: 0px 4px 6px rgba(0,0,0,0.1); display: none; z-index: 1000; position: relative;">
114
  </div>
115
+ """
116
 
117
 
118
  # Main Gradio app