Vaishnav14220 commited on
Commit
005d5b7
·
1 Parent(s): 35712f3

Fix indentation error in Reaction Detail tab - ensure proper gr.Row() block structure and indentation

Browse files
Files changed (1) hide show
  1. app.py +16 -16
app.py CHANGED
@@ -1321,30 +1321,30 @@ def build_interface() -> gr.Blocks:
1321
  )
1322
 
1323
  detail_button = gr.Button("Fetch Reaction Detail", variant="primary")
1324
-
1325
- # Reaction metadata and details
1326
- detail_markdown = gr.Markdown()
1327
-
1328
  with gr.Row():
1329
- # Kinetics data table
1330
  with gr.Column():
1331
  gr.Markdown("### Kinetics Data")
1332
- dataset_table = gr.Dataframe(
1333
- headers=["Section", "Squib", "Temp [K]", "A", "n", "Ea [J/mole]", "k(298 K)", "Order", "Squib URL"],
1334
- datatype=["str"] * 9,
1335
- interactive=False,
1336
- wrap=True,
1337
- )
1338
-
1339
  # Arrhenius plot
1340
  with gr.Column():
1341
  gr.Markdown("### Arrhenius Plot")
1342
  reaction_plot = gr.Plot()
1343
 
1344
- # Reaction SVG visualization
1345
- with gr.Row():
1346
- gr.Markdown("### Reaction Structure")
1347
- reaction_svg = gr.HTML()
1348
 
1349
  # Auto-fetched thermodynamic data
1350
  thermo_summary = gr.Markdown()
 
1321
  )
1322
 
1323
  detail_button = gr.Button("Fetch Reaction Detail", variant="primary")
1324
+
1325
+ # Reaction metadata and details
1326
+ detail_markdown = gr.Markdown()
1327
+
1328
  with gr.Row():
1329
+ # Kinetics data table
1330
  with gr.Column():
1331
  gr.Markdown("### Kinetics Data")
1332
+ dataset_table = gr.Dataframe(
1333
+ headers=["Section", "Squib", "Temp [K]", "A", "n", "Ea [J/mole]", "k(298 K)", "Order", "Squib URL"],
1334
+ datatype=["str"] * 9,
1335
+ interactive=False,
1336
+ wrap=True,
1337
+ )
1338
+
1339
  # Arrhenius plot
1340
  with gr.Column():
1341
  gr.Markdown("### Arrhenius Plot")
1342
  reaction_plot = gr.Plot()
1343
 
1344
+ # Reaction SVG visualization
1345
+ with gr.Row():
1346
+ gr.Markdown("### Reaction Structure")
1347
+ reaction_svg = gr.HTML()
1348
 
1349
  # Auto-fetched thermodynamic data
1350
  thermo_summary = gr.Markdown()