Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -76,7 +76,7 @@ def sample_at_length(l:int, seed:int):
|
|
| 76 |
outdir = os.path.join(os.getcwd(), "output")
|
| 77 |
os.makedirs(outdir, exist_ok=True)
|
| 78 |
pdb_file = ac.create_new_chain_nerf(os.path.join(outdir, "generated.pdb"), s)
|
| 79 |
-
return molecule(
|
| 80 |
|
| 81 |
interface = gr.Interface(
|
| 82 |
fn=sample_at_length,
|
|
|
|
| 76 |
outdir = os.path.join(os.getcwd(), "output")
|
| 77 |
os.makedirs(outdir, exist_ok=True)
|
| 78 |
pdb_file = ac.create_new_chain_nerf(os.path.join(outdir, "generated.pdb"), s)
|
| 79 |
+
return molecule(pdb_file), pdb_file, s
|
| 80 |
|
| 81 |
interface = gr.Interface(
|
| 82 |
fn=sample_at_length,
|