simonduerr commited on
Commit
98b3d92
1 Parent(s): 1a462a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -126,7 +126,7 @@ def update_protGPT2(inp, length):
126
  generated_seqs = run_protgpt2(startsequence, seqlen)
127
  gen_seqs = [x["generated_text"] for x in generated_seqs]
128
  print(gen_seqs)
129
- data = {'id': range(len(gen_seqs), 'sequence': gen_seqs,'length': [len(x) for x in gen_seqs]}
130
  sequencesdf = pd.DataFrame.from_dict(data)
131
  return sequencesdf
132
 
 
126
  generated_seqs = run_protgpt2(startsequence, seqlen)
127
  gen_seqs = [x["generated_text"] for x in generated_seqs]
128
  print(gen_seqs)
129
+ data = {'id': range(len(gen_seqs)), 'sequence': gen_seqs,'length': [len(x) for x in gen_seqs]}
130
  sequencesdf = pd.DataFrame.from_dict(data)
131
  return sequencesdf
132