yinuozhang commited on
Commit
89450f2
·
1 Parent(s): f35297f
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -1041,8 +1041,8 @@ def process_input(
1041
  return (
1042
  output_text or "No analysis done.",
1043
  img_cyclic if 'img_cyclic' in locals() else None,
1044
- img_linear if 'img_linear' in locals() else None,
1045
- structure_files if structure_files else []
1046
  )
1047
 
1048
  iface = gr.Interface(
@@ -1052,11 +1052,11 @@ iface = gr.Interface(
1052
  label="Enter SMILES string",
1053
  placeholder="Enter SMILES notation of peptide...",
1054
  lines=2
1055
- ),
1056
- gr.File(
1057
- label="Or upload a text file with SMILES",
1058
- file_types=[".txt"]
1059
- )],
1060
  outputs=[
1061
  gr.Textbox(
1062
  label="Analysis Results",
 
1041
  return (
1042
  output_text or "No analysis done.",
1043
  img_cyclic if 'img_cyclic' in locals() else None,
1044
+ #img_linear if 'img_linear' in locals() else None,
1045
+ #structure_files if structure_files else []
1046
  )
1047
 
1048
  iface = gr.Interface(
 
1052
  label="Enter SMILES string",
1053
  placeholder="Enter SMILES notation of peptide...",
1054
  lines=2
1055
+ ),],
1056
+ #gr.File(
1057
+ #label="Or upload a text file with SMILES",
1058
+ #file_types=[".txt"]
1059
+ #)],
1060
  outputs=[
1061
  gr.Textbox(
1062
  label="Analysis Results",