nambiar4 commited on
Commit
cc2c186
·
1 Parent(s): 77d468f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -32,7 +32,7 @@ def get_out(sent):
32
  plt.ylabel('DR-BERT score', fontsize=15)
33
 
34
  output = ','.join(str(x) for x in output)
35
- return (prefix+output,fig)
36
 
37
 
38
  gr.Interface(
@@ -40,7 +40,7 @@ gr.Interface(
40
  [
41
  gr.components.Textbox(label="Input Amino Acid Sequence", placeholder = " Amino acid sequence here ...")
42
  ],
43
- ["text","plot"],
44
  examples=examples,
45
  title="DR-BERT: A Protein Language Model to Predict Disordered Regions",
46
  description="The app uses DR-BERT to predict disordered regions in proteins. Outputs generated are the probability that a residue is disordered."
 
32
  plt.ylabel('DR-BERT score', fontsize=15)
33
 
34
  output = ','.join(str(x) for x in output)
35
+ return (fig,prefix+output)
36
 
37
 
38
  gr.Interface(
 
40
  [
41
  gr.components.Textbox(label="Input Amino Acid Sequence", placeholder = " Amino acid sequence here ...")
42
  ],
43
+ ["plot","text"],
44
  examples=examples,
45
  title="DR-BERT: A Protein Language Model to Predict Disordered Regions",
46
  description="The app uses DR-BERT to predict disordered regions in proteins. Outputs generated are the probability that a residue is disordered."