supercat666 commited on
Commit
ffc2377
1 Parent(s): aa8a757
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -132,7 +132,7 @@ if selected_model == 'Cas9':
132
  # Include "Target" in the DataFrame's columns
133
  df = pd.DataFrame(st.session_state['on_target_results'],
134
  columns=["Gene ID", "Start Pos", "End Pos", "Strand", "Target", "gRNA", "Prediction"])
135
-
136
  # Now create a Plotly plot with the sorted_predictions
137
  fig = go.Figure()
138
 
@@ -370,7 +370,7 @@ elif selected_model == 'Cas12':
370
  if 'on_target_results' in st.session_state and st.session_state['on_target_results']:
371
  df = pd.DataFrame(st.session_state['on_target_results'],
372
  columns=["Gene ID", "Start Pos", "End Pos", "Strand", "Target", "gRNA", "Prediction"])
373
-
374
  # Now create a Plotly plot with the sorted_predictions
375
  fig = go.Figure()
376
 
 
132
  # Include "Target" in the DataFrame's columns
133
  df = pd.DataFrame(st.session_state['on_target_results'],
134
  columns=["Gene ID", "Start Pos", "End Pos", "Strand", "Target", "gRNA", "Prediction"])
135
+ st.dataframe(df)
136
  # Now create a Plotly plot with the sorted_predictions
137
  fig = go.Figure()
138
 
 
370
  if 'on_target_results' in st.session_state and st.session_state['on_target_results']:
371
  df = pd.DataFrame(st.session_state['on_target_results'],
372
  columns=["Gene ID", "Start Pos", "End Pos", "Strand", "Target", "gRNA", "Prediction"])
373
+ st.dataframe(df)
374
  # Now create a Plotly plot with the sorted_predictions
375
  fig = go.Figure()
376