Remove stupid code
Browse files
app.py
CHANGED
|
@@ -72,13 +72,7 @@ def compute_Chai1(
|
|
| 72 |
download_inference_dependencies.remote(force=force_redownload)
|
| 73 |
|
| 74 |
if fasta_file is None:
|
| 75 |
-
fasta_file = here / "inputs" / "chai1_default_input.fasta"
|
| 76 |
-
else:
|
| 77 |
-
name_file = here / "inputs" / "chai1_custom_input.fasta"
|
| 78 |
-
with open(fasta_file, "x") as f:
|
| 79 |
-
f.write(fasta_file)
|
| 80 |
-
fasta_file = name_file
|
| 81 |
-
|
| 82 |
print(f"🧬 running Chai inference on {fasta_file}")
|
| 83 |
fasta_content = Path(fasta_file).read_text()
|
| 84 |
|
|
|
|
| 72 |
download_inference_dependencies.remote(force=force_redownload)
|
| 73 |
|
| 74 |
if fasta_file is None:
|
| 75 |
+
fasta_file = here / "inputs" / "chai1_default_input.fasta"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 76 |
print(f"🧬 running Chai inference on {fasta_file}")
|
| 77 |
fasta_content = Path(fasta_file).read_text()
|
| 78 |
|