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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +22 -18
app.py CHANGED
@@ -113,22 +113,26 @@ with gr.Blocks(css_paths=["static/deval.css"], theme=gr.themes.Default(primary_h
113
  pass # Empty space or title if needed
114
 
115
  with gr.Row():
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()
 
113
  pass # Empty space or title if needed
114
 
115
  with gr.Row():
116
+ gr.HTML(
117
+ f"""
118
+ <div style="
119
+ display: flex;
120
+ justify-content: center;
121
+ align-items: center;
122
+ flex-direction: column;
123
+ height: 60vh;
124
+ text-align: center;
125
+ color: white;
126
+ font-size: 2rem;
127
+ ">
128
+ <p style="margin: 0.5em 0;">⚠️ <strong>DEvalBot has moved!</strong></p>
129
+ <p style="margin: 0.5em 0;">Please visit the new page:</p>
130
+ <p style="margin: 0.5em 0;">
131
+ <a href="{NEW_PAGE_URL}" style="color: white; font-weight: bold; text-decoration: underline;">
132
+ {NEW_PAGE_URL}
133
+ </a>
134
+ </p>
135
+ </div>
136
+ """
137
+ )
138
  demo.launch()