Spaces:
Running
Running
Update app.py
Browse files
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
|
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 |
-
["
|
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."
|