Spaces:
Running
Running
simonduerr
commited on
Commit
•
f354223
1
Parent(s):
5122f94
Update inference_app.py
Browse files- inference_app.py +4 -1
inference_app.py
CHANGED
@@ -22,8 +22,10 @@ with gr.Blocks() as app:
|
|
22 |
|
23 |
gr.Markdown("Title, description, and other information about the model")
|
24 |
with gr.Row():
|
25 |
-
input_sequence = gr.Textbox(lines=3, label="Input sequence")
|
26 |
input_ligand = gr.Textbox(lines=3, label="Input ligand SMILES")
|
|
|
|
|
27 |
|
28 |
# define any options here
|
29 |
|
@@ -39,6 +41,7 @@ with gr.Blocks() as app:
|
|
39 |
[
|
40 |
"SVKSEYAEAAAVGQEAVAVFNTMKAAFQNGDKEAVAQYLARLASLYTRHEELLNRILEKARREGNKEAVTLMNEFTATFQTGKSIFNAMVAAFKNGDDDSFESYLQALEKVTAKGETLADQIAKAL:SVKSEYAEAAAVGQEAVAVFNTMKAAFQNGDKEAVAQYLARLASLYTRHEELLNRILEKARREGNKEAVTLMNEFTATFQTGKSIFNAMVAAFKNGDDDSFESYLQALEKVTAKGETLADQIAKAL",
|
41 |
"COc1ccc(cc1)n2c3c(c(n2)C(=O)N)CCN(C3=O)c4ccc(cc4)N5CCCCC5=O",
|
|
|
42 |
],
|
43 |
],
|
44 |
[input_sequence, input_ligand],
|
|
|
22 |
|
23 |
gr.Markdown("Title, description, and other information about the model")
|
24 |
with gr.Row():
|
25 |
+
input_sequence = gr.Textbox(lines=3, label="Input Protein sequence (FASTA)")
|
26 |
input_ligand = gr.Textbox(lines=3, label="Input ligand SMILES")
|
27 |
+
input_protein = gr.File(label="Input protein monomer")
|
28 |
+
|
29 |
|
30 |
# define any options here
|
31 |
|
|
|
41 |
[
|
42 |
"SVKSEYAEAAAVGQEAVAVFNTMKAAFQNGDKEAVAQYLARLASLYTRHEELLNRILEKARREGNKEAVTLMNEFTATFQTGKSIFNAMVAAFKNGDDDSFESYLQALEKVTAKGETLADQIAKAL:SVKSEYAEAAAVGQEAVAVFNTMKAAFQNGDKEAVAQYLARLASLYTRHEELLNRILEKARREGNKEAVTLMNEFTATFQTGKSIFNAMVAAFKNGDDDSFESYLQALEKVTAKGETLADQIAKAL",
|
43 |
"COc1ccc(cc1)n2c3c(c(n2)C(=O)N)CCN(C3=O)c4ccc(cc4)N5CCCCC5=O",
|
44 |
+
"test_out.pdb"
|
45 |
],
|
46 |
],
|
47 |
[input_sequence, input_ligand],
|