Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
47585e4
1
Parent(s):
1796a44
add default structure
Browse files
app.py
CHANGED
@@ -12,8 +12,11 @@ from pathlib import Path
|
|
12 |
|
13 |
import gradio as gr
|
14 |
|
15 |
-
from simulation_scripts import (
|
16 |
-
|
|
|
|
|
|
|
17 |
|
18 |
DEFAULT_MOLECULAR_REPRESENTATIONS = [
|
19 |
{
|
@@ -49,6 +52,7 @@ def main():
|
|
49 |
label="ASE-compatible structure",
|
50 |
file_types=[".cif", ".pdb", ".xyz", ".traj", "INCAR", "POSCAR"],
|
51 |
height=150,
|
|
|
52 |
)
|
53 |
output_traj = gr.File(
|
54 |
label="Simulation Trajectory (ASE traj file)",
|
|
|
12 |
|
13 |
import gradio as gr
|
14 |
|
15 |
+
from simulation_scripts import (
|
16 |
+
run_md_simulation,
|
17 |
+
run_relaxation_simulation,
|
18 |
+
validate_ase_atoms_and_login,
|
19 |
+
)
|
20 |
|
21 |
DEFAULT_MOLECULAR_REPRESENTATIONS = [
|
22 |
{
|
|
|
52 |
label="ASE-compatible structure",
|
53 |
file_types=[".cif", ".pdb", ".xyz", ".traj", "INCAR", "POSCAR"],
|
54 |
height=150,
|
55 |
+
value="./examples/metal_cplx.pdb",
|
56 |
)
|
57 |
output_traj = gr.File(
|
58 |
label="Simulation Trajectory (ASE traj file)",
|