noumanjavaid commited on
Commit
3cbb5d6
·
verified ·
1 Parent(s): a81bbcd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -1
app.py CHANGED
@@ -178,12 +178,27 @@ def create_interface():
178
  show_label=False,
179
  container=False
180
  )
181
- gr.Markdown("Centurion Analysis", elem_classes=["header-title"])
182
 
183
  # Main content
184
  with gr.Row(elem_classes=["container"]):
185
  with gr.Column(elem_classes=["main-content"]):
186
  gr.HTML('''
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
187
  <div class="iframe-container">
188
  <iframe
189
  src="https://noumanjavaid-centii.hf.space"
 
178
  show_label=False,
179
  container=False
180
  )
181
+ gr.Markdown("## Centurion ")
182
 
183
  # Main content
184
  with gr.Row(elem_classes=["container"]):
185
  with gr.Column(elem_classes=["main-content"]):
186
  gr.HTML('''
187
+ .iframe-container {
188
+ position: relative;
189
+ width: 100%;
190
+ height: 100;
191
+ padding-bottom: 53.33%; /* 450 / 850 * 100 */
192
+ }
193
+ .iframe-container iframe {
194
+ position: absolute;
195
+ top: 0;
196
+ left: 0;
197
+ width: 100%;
198
+ height: 100%;
199
+ border: 10px;
200
+ }
201
+
202
  <div class="iframe-container">
203
  <iframe
204
  src="https://noumanjavaid-centii.hf.space"