i_vorobyev
commited on
Commit
·
a10eab8
1
Parent(s):
9f2073b
bug fixes
Browse files
app.py
CHANGED
@@ -88,12 +88,13 @@ def pred_seq(seq):
|
|
88 |
do_renum=False,
|
89 |
)
|
90 |
|
91 |
-
molecule(pred_pdb)
|
92 |
|
93 |
else:
|
94 |
html = "<p color = 'red'>ERROR! Not valid sequence</p>"
|
95 |
return (html)
|
96 |
|
97 |
iface = gr.Interface(fn=pred_seq,
|
98 |
-
inputs="text",
|
|
|
99 |
iface.launch()
|
|
|
88 |
do_renum=False,
|
89 |
)
|
90 |
|
91 |
+
html = molecule(pred_pdb)
|
92 |
|
93 |
else:
|
94 |
html = "<p color = 'red'>ERROR! Not valid sequence</p>"
|
95 |
return (html)
|
96 |
|
97 |
iface = gr.Interface(fn=pred_seq,
|
98 |
+
inputs="text",
|
99 |
+
outputs=gr.HTML())
|
100 |
iface.launch()
|