QSBench commited on
Commit
4d71862
·
verified ·
1 Parent(s): 85ae166

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -405,7 +405,7 @@ footer {
405
  }
406
  """
407
 
408
- with gr.Blocks(theme=gr.themes.Soft(), title=APP_TITLE, css=CUSTOM_CSS) as demo:
409
  gr.Markdown(f"# 🌌 {APP_TITLE}")
410
  gr.Markdown(APP_SUBTITLE)
411
 
@@ -421,8 +421,8 @@ with gr.Blocks(theme=gr.themes.Soft(), title=APP_TITLE, css=CUSTOM_CSS) as demo:
421
  explorer_df = gr.Dataframe(interactive=False, label="Preview rows")
422
 
423
  with gr.Row():
424
- raw_qasm_code = gr.Code(label="Raw QASM", language="text")
425
- transpiled_qasm_code = gr.Code(label="Transpiled QASM", language="text")
426
 
427
  with gr.TabItem("🧠 Regression"):
428
  with gr.Row():
@@ -468,4 +468,4 @@ with gr.Blocks(theme=gr.themes.Soft(), title=APP_TITLE, css=CUSTOM_CSS) as demo:
468
 
469
 
470
  if __name__ == "__main__":
471
- demo.launch()
 
405
  }
406
  """
407
 
408
+ with gr.Blocks(title=APP_TITLE) as demo:
409
  gr.Markdown(f"# 🌌 {APP_TITLE}")
410
  gr.Markdown(APP_SUBTITLE)
411
 
 
421
  explorer_df = gr.Dataframe(interactive=False, label="Preview rows")
422
 
423
  with gr.Row():
424
+ raw_qasm_code = gr.Code(label="Raw QASM", language=None)
425
+ transpiled_qasm_code = gr.Code(label="Transpiled QASM", language=None)
426
 
427
  with gr.TabItem("🧠 Regression"):
428
  with gr.Row():
 
468
 
469
 
470
  if __name__ == "__main__":
471
+ demo.launch(theme=gr.themes.Soft(), css=CUSTOM_CSS)