emmas96 commited on
Commit
490595c
·
1 Parent(s): f334b14

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -4,7 +4,7 @@ import torch
4
  import numpy as np
5
  import pandas as pd
6
  import streamlit as st
7
- import esm
8
 
9
  from rdkit import Chem
10
  from rdkit.Chem import Draw
@@ -48,6 +48,7 @@ def about_page():
48
  st.image('figures/hyper-dti.png', caption='Overview of HyperPCM architecture.')
49
 
50
 
 
51
  def predict_dti():
52
  st.markdown('## Predict drug-target interaction')
53
 
@@ -176,7 +177,8 @@ def predict_dti():
176
 
177
  st.markdown('### Interaction')
178
  st.write('HyperPCM predicts an activity of xxx pChEMBL.')
179
-
 
180
 
181
  def retrieval():
182
  st.markdown('## Retrieve top-k most active drug compounds')
@@ -246,6 +248,7 @@ def retrieval():
246
  mol_img = Chem.Draw.MolToImage(mol)
247
  st.image(mol_img)
248
 
 
249
  def display_protein():
250
  st.markdown('## Display protein structure')
251
  st.write('In the future this page will display the ESM predicted sequence of a protein target.')
@@ -332,6 +335,7 @@ def display_protein():
332
  def display_context():
333
  st.markdown('## Display context')
334
  st.write('In the future this page will visualize the context module for a given protein, i.e., show important features and highly ranked / related proteins from the context.')
 
335
 
336
  def references():
337
  st.markdown(
 
4
  import numpy as np
5
  import pandas as pd
6
  import streamlit as st
7
+ #import esm
8
 
9
  from rdkit import Chem
10
  from rdkit.Chem import Draw
 
48
  st.image('figures/hyper-dti.png', caption='Overview of HyperPCM architecture.')
49
 
50
 
51
+ '''
52
  def predict_dti():
53
  st.markdown('## Predict drug-target interaction')
54
 
 
177
 
178
  st.markdown('### Interaction')
179
  st.write('HyperPCM predicts an activity of xxx pChEMBL.')
180
+ '''
181
+
182
 
183
  def retrieval():
184
  st.markdown('## Retrieve top-k most active drug compounds')
 
248
  mol_img = Chem.Draw.MolToImage(mol)
249
  st.image(mol_img)
250
 
251
+ '''
252
  def display_protein():
253
  st.markdown('## Display protein structure')
254
  st.write('In the future this page will display the ESM predicted sequence of a protein target.')
 
335
  def display_context():
336
  st.markdown('## Display context')
337
  st.write('In the future this page will visualize the context module for a given protein, i.e., show important features and highly ranked / related proteins from the context.')
338
+ '''
339
 
340
  def references():
341
  st.markdown(