gtani commited on
Commit
77fc11f
·
verified ·
1 Parent(s): 1cbd2de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -6
app.py CHANGED
@@ -116,13 +116,19 @@ with gr.Blocks(css_paths=["static/deval.css"], theme=gr.themes.Default(primary_h
116
  with gr.Column(scale=1):
117
  pass
118
  with gr.Column(scale=10):
119
- gr.Markdown(
120
  f"""
121
- ## ⚠️ DEvalBot has moved!
122
- Please visit the new page:
123
- 👉 [**{NEW_PAGE_URL}**]({NEW_PAGE_URL})
124
- """,
125
- elem_id="redirect-message"
 
 
 
 
 
 
126
  )
127
 
128
  demo.launch()
 
116
  with gr.Column(scale=1):
117
  pass
118
  with gr.Column(scale=10):
119
+ gr.HTML(
120
  f"""
121
+ <div style="
122
+ text-align: center;
123
+ color: white;
124
+ font-size: 2rem;
125
+ margin-top: 100px;
126
+ ">
127
+ <p>⚠️ <strong>DEvalBot has moved!</strong></p>
128
+ <p>Please visit the new page:</p>
129
+ <p><a href="{NEW_PAGE_URL}" style="color: #ffffff; font-weight: bold; text-decoration: underline;">{NEW_PAGE_URL}</a></p>
130
+ </div>
131
+ """
132
  )
133
 
134
  demo.launch()