jwalanthi commited on
Commit
3241b41
·
1 Parent(s): b72fbb8

final fix?

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def predict (Sentence, Word, LLM, Norm, Layer):
45
  df_sorted = df_sorted.reset_index()
46
 
47
  output = [row['feature']+'\t\t\t\t\t\t\t'+str(row['value']) for _, row in df_sorted.iterrows()]
48
- print("All Positive Predicted Values:\n"+"\n".join(output))
49
 
50
  demo = gr.Interface(
51
  fn=predict,
 
45
  df_sorted = df_sorted.reset_index()
46
 
47
  output = [row['feature']+'\t\t\t\t\t\t\t'+str(row['value']) for _, row in df_sorted.iterrows()]
48
+ return "All Positive Predicted Values:\n"+"\n".join(output)
49
 
50
  demo = gr.Interface(
51
  fn=predict,