NiniCat LfOreVEr commited on
Commit
4f7bcab
1 Parent(s): 6bd8780

Update app.py (#6)

Browse files

- Update app.py (a002cab5adb7ac6676263973f6f09b430a6d9018)


Co-authored-by: Qingyang Liu <LfOreVEr@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -436,7 +436,7 @@ elif selected_model == 'Cas12':
436
 
437
  # Run the prediction process
438
  with st.spinner('Predicting... Please wait'):
439
- predictions, gene_sequence = cas12.process_gene(gene_symbol,cas12_path)
440
  sorted_predictions = sorted(predictions, key=lambda x: x[-1], reverse=True)[:10]
441
  st.session_state['on_target_results'] = sorted_predictions
442
  st.success('Prediction completed!')
 
436
 
437
  # Run the prediction process
438
  with st.spinner('Predicting... Please wait'):
439
+ predictions, gene_sequence, exons = cas12.process_gene(gene_symbol,cas12_path)
440
  sorted_predictions = sorted(predictions, key=lambda x: x[-1], reverse=True)[:10]
441
  st.session_state['on_target_results'] = sorted_predictions
442
  st.success('Prediction completed!')