Spaces:
Running
Running
Commit
·
00d0595
1
Parent(s):
c4bb619
test
Browse files
app.py
CHANGED
@@ -120,6 +120,7 @@ def test(ligand, protein):
|
|
120 |
IC50, K = mbp_scoring(ligand.name, protein.name)
|
121 |
return '{:.2f}'.format(IC50), '{:.2f}'.format(K)
|
122 |
except Exception as e:
|
|
|
123 |
return 'Please set input correctly', 'Please set input correctly'
|
124 |
|
125 |
with gr.Blocks() as demo:
|
|
|
120 |
IC50, K = mbp_scoring(ligand.name, protein.name)
|
121 |
return '{:.2f}'.format(IC50), '{:.2f}'.format(K)
|
122 |
except Exception as e:
|
123 |
+
print(e)
|
124 |
return 'Please set input correctly', 'Please set input correctly'
|
125 |
|
126 |
with gr.Blocks() as demo:
|