Spaces:
Runtime error
Runtime error
Commit
·
9fb1a0f
1
Parent(s):
402771c
test
Browse files
app.py
CHANGED
@@ -8,6 +8,7 @@ tokenizer = AutoTokenizer.from_pretrained("TianlaiChen/PepMLM-650M")
|
|
8 |
model = AutoModelForMaskedLM.from_pretrained("TianlaiChen/PepMLM-650M")
|
9 |
|
10 |
def generate_peptide(protein_seq, peptide_length, top_k):
|
|
|
11 |
peptide_length = int(peptide_length)
|
12 |
top_k = int(top_k)
|
13 |
|
|
|
8 |
model = AutoModelForMaskedLM.from_pretrained("TianlaiChen/PepMLM-650M")
|
9 |
|
10 |
def generate_peptide(protein_seq, peptide_length, top_k):
|
11 |
+
print('Within')
|
12 |
peptide_length = int(peptide_length)
|
13 |
top_k = int(top_k)
|
14 |
|