woshixuhao commited on
Commit
821035e
·
1 Parent(s): f3a067c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1626,9 +1626,9 @@ if __name__=='__main__':
1626
  Single prediction: predict a compound under a given condition including eluent, flow rate and column type\n
1627
  Column recommendation: give the separation probability of two molecules (especially enantiomers) under all column types\n
1628
  """
1629
- demo_3 = gr.Blocks()
1630
 
1631
- with demo_3:
1632
  gr.Markdown('''
1633
  <div>
1634
  <h1 style='text-align: center'>Chromatographic enantioseparation prediction</h1>
@@ -1644,7 +1644,7 @@ if __name__=='__main__':
1644
  info="Choose a HPLC column")], outputs=['text'])
1645
  demo_2=gr.Interface(fn=column_recommendation, inputs=["text", "text", "number", "number"],
1646
  outputs=['dataframe'])
1647
- demo=gr.TabbedInterface([demo_1, demo_2,demo_3], ["Single prediction", "Column recommendation","Markdown"])
1648
  demo.launch()
1649
 
1650
 
 
1626
  Single prediction: predict a compound under a given condition including eluent, flow rate and column type\n
1627
  Column recommendation: give the separation probability of two molecules (especially enantiomers) under all column types\n
1628
  """
1629
+ demo_mark = gr.Blocks()
1630
 
1631
+ with demo_mark:
1632
  gr.Markdown('''
1633
  <div>
1634
  <h1 style='text-align: center'>Chromatographic enantioseparation prediction</h1>
 
1644
  info="Choose a HPLC column")], outputs=['text'])
1645
  demo_2=gr.Interface(fn=column_recommendation, inputs=["text", "text", "number", "number"],
1646
  outputs=['dataframe'])
1647
+ demo=gr.TabbedInterface([demo_mark,demo_1, demo_2], ["Markdown","Single prediction", "Column recommendation"])
1648
  demo.launch()
1649
 
1650