rhasan commited on
Commit
e0cd712
·
1 Parent(s): 93680f5

gradio newwer version compatibility

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -249,7 +249,7 @@ CSS = """
249
  # --------------------------------------------------------------------------- #
250
  # UI
251
  # --------------------------------------------------------------------------- #
252
- with gr.Blocks(title="UPLME — Empathy Prediction", theme=theme, css=CSS) as demo:
253
  gr.HTML(HEADER_HTML)
254
 
255
  with gr.Row(equal_height=False):
@@ -294,7 +294,7 @@ This demo predicts an empathy score on a 0–100 scale for a *response* (e.g. an
294
  Unlike a single point prediction, the interval communicates *how confident* the model is — a core idea of
295
  trustworthy, uncertainty-aware AI.
296
 
297
- Authors: Md Rakibul Hasan, Md Zakir Hossain, Aneesh Krishna, Shafin Rahman, and Tom Gedeon.
298
  """
299
  )
300
 
@@ -303,4 +303,4 @@ Authors: Md Rakibul Hasan, Md Zakir Hossain, Aneesh Krishna, Shafin Rahman, and
303
 
304
 
305
  if __name__ == "__main__":
306
- demo.queue().launch(ssr_mode=False)
 
249
  # --------------------------------------------------------------------------- #
250
  # UI
251
  # --------------------------------------------------------------------------- #
252
+ with gr.Blocks(title="UPLME — Empathy Prediction") as demo:
253
  gr.HTML(HEADER_HTML)
254
 
255
  with gr.Row(equal_height=False):
 
294
  Unlike a single point prediction, the interval communicates *how confident* the model is — a core idea of
295
  trustworthy, uncertainty-aware AI.
296
 
297
+ Authors: Md Rakibul Hasan, Md Zakir Hossain, Aneesh Krishna, Shafin Rahman and Tom Gedeon.
298
  """
299
  )
300
 
 
303
 
304
 
305
  if __name__ == "__main__":
306
+ demo.queue().launch(ssr_mode=False, theme=theme, css=CSS)