libokj commited on
Commit
2e14a97
·
1 Parent(s): 5912ecf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -5
app.py CHANGED
@@ -1849,9 +1849,13 @@ higher identities usually lead to greater confidence in the predictions.<br>
1849
  "If you upload a target library containing proteins all in the same family, "
1850
  "you may manually select a Target Family."
1851
  )
 
 
 
 
1852
  target_identify_target_family = gr.Dropdown(
1853
- choices=['Family-Specific Auto-Recommendation'] + list(TARGET_FAMILY_MAP.keys()),
1854
- value='Family-Specific Auto-Recommendation',
1855
  label='Step 2. Select Target Family')
1856
  with gr.Column():
1857
  HelpTip(
@@ -1872,9 +1876,13 @@ higher identities usually lead to greater confidence in the predictions.<br>
1872
  "model is used for Target Protein Identification. "
1873
  "Please refer to the documentation for detailed benchmark results."
1874
  )
 
 
 
 
1875
  target_identify_preset = gr.Dropdown(
1876
- choices=['Family-Specific Auto-Recommendation'] + list(PRESET_MAP.keys()),
1877
- value='Family-Specific Auto-Recommendation',
1878
  label='Step 4. Select a Preset Model')
1879
  identify_preset_recommend_btn = gr.Button(value='OR Let Us Recommend for You',
1880
  variant='primary')
@@ -2088,7 +2096,7 @@ higher similarities usually correspond to greater prediction confidence.<br>
2088
  value='Compound-Protein Interaction',
2089
  label='Specify the Task Labels in the Uploaded Dataset')
2090
  with gr.Column(scale=2):
2091
- with gr.Row():
2092
  with gr.Row():
2093
  scores = gr.CheckboxGroup(list(SCORE_MAP.keys()), label='Compound Scores')
2094
  filters = gr.CheckboxGroup(list(FILTER_MAP.keys()), label='Compound Filters')
 
1849
  "If you upload a target library containing proteins all in the same family, "
1850
  "you may manually select a Target Family."
1851
  )
1852
+ # target_identify_target_family = gr.Dropdown(
1853
+ # choices=['Family-Specific Auto-Recommendation'] + list(TARGET_FAMILY_MAP.keys()),
1854
+ # value='Family-Specific Auto-Recommendation',
1855
+ # label='Step 2. Select Target Family')
1856
  target_identify_target_family = gr.Dropdown(
1857
+ choices=['General'],
1858
+ value='General',
1859
  label='Step 2. Select Target Family')
1860
  with gr.Column():
1861
  HelpTip(
 
1876
  "model is used for Target Protein Identification. "
1877
  "Please refer to the documentation for detailed benchmark results."
1878
  )
1879
+ # target_identify_preset = gr.Dropdown(
1880
+ # choices=['Family-Specific Auto-Recommendation'] + list(PRESET_MAP.keys()),
1881
+ # value='Family-Specific Auto-Recommendation',
1882
+ # label='Step 4. Select a Preset Model')
1883
  target_identify_preset = gr.Dropdown(
1884
+ choices=['DeepConvDTI', 'DrugBAN', 'HyperAttentionDTI'],
1885
+ value='DrugBAN',
1886
  label='Step 4. Select a Preset Model')
1887
  identify_preset_recommend_btn = gr.Button(value='OR Let Us Recommend for You',
1888
  variant='primary')
 
2096
  value='Compound-Protein Interaction',
2097
  label='Specify the Task Labels in the Uploaded Dataset')
2098
  with gr.Column(scale=2):
2099
+ with gr.Column():
2100
  with gr.Row():
2101
  scores = gr.CheckboxGroup(list(SCORE_MAP.keys()), label='Compound Scores')
2102
  filters = gr.CheckboxGroup(list(FILTER_MAP.keys()), label='Compound Filters')