SarowarSaurav commited on
Commit
820e681
·
verified ·
1 Parent(s): 5ab5183

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -2193,15 +2193,24 @@ APSCSC : Asia Pacific Supply Chain Service Centre ;
2193
  NAA : North Asia Area ;
2194
 
2195
  """
 
 
 
 
 
 
 
 
2196
 
2197
  iface = gr.Interface(
2198
  fn=chatbot_interface,
2199
  inputs="text",
2200
  outputs="text",
2201
- css="footer{display:none !important}",
2202
  title="BATB Acronym Finder",
2203
  description="",
2204
  theme='default'
2205
  )
2206
 
 
2207
  iface.launch()
 
2193
  NAA : North Asia Area ;
2194
 
2195
  """
2196
+ custom_css = """
2197
+ /* Hide mobile warnings for iOS devices */
2198
+ @media screen and (max-device-width: 1068px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait),
2199
+ screen and (max-device-width: 1068px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
2200
+ .mobile_warning {
2201
+ display: none !important;
2202
+ }
2203
+ } """
2204
 
2205
  iface = gr.Interface(
2206
  fn=chatbot_interface,
2207
  inputs="text",
2208
  outputs="text",
2209
+ css=custom_css, # Add custom CSS here
2210
  title="BATB Acronym Finder",
2211
  description="",
2212
  theme='default'
2213
  )
2214
 
2215
+
2216
  iface.launch()