osbm commited on
Commit
e08fb79
·
1 Parent(s): 970ab8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -2
app.py CHANGED
@@ -1,6 +1,19 @@
1
  import streamlit as st
2
-
3
 
4
  st.title("Hello World")
5
 
6
- st.write("This is a simple example of Streamlit")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  import streamlit as st
2
+ from trainer import Trainer
3
 
4
  st.title("Hello World")
5
 
6
+ class DrugGENConfig:
7
+ submodel='CrossLoss'
8
+ act='relu'
9
+
10
+
11
+ with st.spinner('Setting up the trainer class...'):
12
+ trainer = Trainer(config)
13
+
14
+ with st.spinner('Generating Molecules...'):
15
+ trainer.inference()
16
+
17
+
18
+
19
+