mtyrrell commited on
Commit
a6f1a04
·
verified ·
1 Parent(s): 82cc40b

Update appStore/target.py

Browse files
Files changed (1) hide show
  1. appStore/target.py +2 -3
appStore/target.py CHANGED
@@ -81,7 +81,7 @@ def app():
81
  st.session_state.key2 = df
82
 
83
 
84
- def target_display():
85
 
86
  ### TABLE Output ###
87
 
@@ -107,8 +107,7 @@ def target_display():
107
  # construct RAG query for each label, send to openai and process response
108
  for i in range(0,len(df_agg)):
109
  st.write(df_agg['Vulnerability Label'].iloc[i])
110
- run_query(context = df_agg['text'].iloc[i], label = df_agg['Vulnerability Label'].iloc[i])
111
- # st.write(df_agg['text'].iloc[i])
112
 
113
 
114
 
 
81
  st.session_state.key2 = df
82
 
83
 
84
+ def target_display(model_sel_name):
85
 
86
  ### TABLE Output ###
87
 
 
107
  # construct RAG query for each label, send to openai and process response
108
  for i in range(0,len(df_agg)):
109
  st.write(df_agg['Vulnerability Label'].iloc[i])
110
+ run_query(context = df_agg['text'].iloc[i], label = df_agg['Vulnerability Label'].iloc[i], model_sel_name=model_sel_name)
 
111
 
112
 
113