Spaces:
Runtime error
Runtime error
as-cle-bert
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -58,14 +58,14 @@ iface = gr.Interface(
|
|
58 |
inputs=gr.Textbox(
|
59 |
label="Protein Sequence",
|
60 |
info="Find sequences examples below, and complete examples with images at: https://github.com/AstraBert/proteinviz/tree/main/examples.md; if you input a sequence, you're gonna get the static image and the HTML file with the 3D model to explore and play with",
|
61 |
-
lines=
|
62 |
value=f"Paste or write amino-acidic sequence here",
|
63 |
),
|
64 |
outputs=[gr.Image(label="Protein static image"), gr.File(label="Protein 3D model HTML")],
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
]
|
70 |
)
|
71 |
|
|
|
58 |
inputs=gr.Textbox(
|
59 |
label="Protein Sequence",
|
60 |
info="Find sequences examples below, and complete examples with images at: https://github.com/AstraBert/proteinviz/tree/main/examples.md; if you input a sequence, you're gonna get the static image and the HTML file with the 3D model to explore and play with",
|
61 |
+
lines=5,
|
62 |
value=f"Paste or write amino-acidic sequence here",
|
63 |
),
|
64 |
outputs=[gr.Image(label="Protein static image"), gr.File(label="Protein 3D model HTML")],
|
65 |
+
examples=[
|
66 |
+
"MVHLTPEEKSAVTALWGKVNVDEVGGEALGRLLVVYPWTQRFFESFGDLSTPDAVMGNPKVKAHGKKVLGAFSDGLAHLDNLKGTFATLSELHCDKLHVDPENFRLLGNVLVCVLAHHFGKEFTPPVQAAYQKVVAGVANALAHKYH",
|
67 |
+
"MTEYKLVVVGAGGVGKSALTIQLIQNHFVDEYDPTIEDSYRKQVVIDGETCLLDILDTAGQEEYSAMRDQYMRTGEGFLCVFAINNTKSFEDIHQYREQIKRVKDSDDVPMVLVGNKCDLAARTVESRQAQDLARSYGIPYIETSAKTRQGVEDAFYTLVREIRQHKLRKLNPPDESGPGCMSCKCVLS",
|
68 |
+
"MQIFVKTLTGKTITLEVEPSDTIENVKAKIQDKEGIPPDQQRLIFAGKQLEDGRTLSDYNIQKESTLHLVLRLRGG",
|
69 |
]
|
70 |
)
|
71 |
|