jaifar530 commited on
Commit
8cfc361
·
unverified ·
1 Parent(s): a1276b6
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -222,7 +222,7 @@ def AI_vs_AI_RandomForest_88_Samples(df):
222
 
223
 
224
 
225
- # input_features = df['paragraph'].apply(extract_features_AI_vs_AI_RandomForest_88_Samples)
226
  # try:
227
  # predicted_llm = clf_loaded.predict(input_features)
228
  # st.write(f"Predicted LLM: {predicted_llm[0]}")
@@ -251,7 +251,8 @@ def AI_vs_AI_RandomForest_88_Samples(df):
251
  # for llm, prob in prob_dict.items():
252
  # st.write(llm + ': ' + prob)
253
  # st.progress(float(prob.strip('%'))/100)
254
- # return
 
255
 
256
  def AI_vs_AI_Ridge_2000_Samples(df):
257
 
 
222
 
223
 
224
 
225
+ input_features = df['paragraph'].apply(extract_features_AI_vs_AI_RandomForest_88_Samples)
226
  # try:
227
  # predicted_llm = clf_loaded.predict(input_features)
228
  # st.write(f"Predicted LLM: {predicted_llm[0]}")
 
251
  # for llm, prob in prob_dict.items():
252
  # st.write(llm + ': ' + prob)
253
  # st.progress(float(prob.strip('%'))/100)
254
+ return
255
+
256
 
257
  def AI_vs_AI_Ridge_2000_Samples(df):
258