yinuozhang commited on
Commit
4ae3df6
·
1 Parent(s): bcae4e2
Files changed (1) hide show
  1. app.py +18 -15
app.py CHANGED
@@ -948,16 +948,7 @@ iface = gr.Interface(
948
  gr.Checkbox(
949
  label="Show show segmentation details",
950
  value=False
951
- ),
952
- gr.Checkbox(
953
- label="Generate 3D structure (sdf file format)",
954
- value=False
955
- ),
956
- gr.Checkbox(
957
- label="Use UFF optimization (may take long)",
958
- value=False
959
- )
960
- ],
961
  outputs=[
962
  gr.Textbox(
963
  label="Analysis Results",
@@ -967,10 +958,10 @@ iface = gr.Interface(
967
  label="2D Structure with Annotations",
968
  type="pil"
969
  ),
970
- gr.File(
971
- label="3D Structure Files",
972
- file_count="multiple"
973
- )
974
  ],
975
  title="Peptide Structure Analyzer and Visualizer",
976
  description='''
@@ -999,4 +990,16 @@ iface = gr.Interface(
999
  )
1000
 
1001
  if __name__ == "__main__":
1002
- iface.launch(share=True)
 
 
 
 
 
 
 
 
 
 
 
 
 
948
  gr.Checkbox(
949
  label="Show show segmentation details",
950
  value=False
951
+ ),],
 
 
 
 
 
 
 
 
 
952
  outputs=[
953
  gr.Textbox(
954
  label="Analysis Results",
 
958
  label="2D Structure with Annotations",
959
  type="pil"
960
  ),
961
+ #gr.File(
962
+ #label="3D Structure Files",
963
+ #file_count="multiple"
964
+ #)
965
  ],
966
  title="Peptide Structure Analyzer and Visualizer",
967
  description='''
 
990
  )
991
 
992
  if __name__ == "__main__":
993
+ iface.launch(share=True)
994
+
995
+ """
996
+ gr.Checkbox(
997
+ label="Generate 3D structure (sdf file format)",
998
+ value=False
999
+ ),
1000
+ gr.Checkbox(
1001
+ label="Use UFF optimization (may take long)",
1002
+ value=False
1003
+ )
1004
+ ],
1005
+ """