Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,10 +6,13 @@ st.title("Hello World")
|
|
6 |
class DrugGENConfig:
|
7 |
submodel='CrossLoss'
|
8 |
act='relu'
|
|
|
|
|
|
|
9 |
|
10 |
|
11 |
with st.spinner('Setting up the trainer class...'):
|
12 |
-
trainer = Trainer(
|
13 |
|
14 |
with st.spinner('Generating Molecules...'):
|
15 |
trainer.inference()
|
|
|
6 |
class DrugGENConfig:
|
7 |
submodel='CrossLoss'
|
8 |
act='relu'
|
9 |
+
z_dim=16
|
10 |
+
max_atom=45
|
11 |
+
|
12 |
|
13 |
|
14 |
with st.spinner('Setting up the trainer class...'):
|
15 |
+
trainer = Trainer(DrugGENConfig())
|
16 |
|
17 |
with st.spinner('Generating Molecules...'):
|
18 |
trainer.inference()
|