ThePixOne commited on
Commit
85ba7c8
1 Parent(s): 0928baf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -153,8 +153,11 @@ def predict(query,data):
153
  table["Passage"].append(passage)
154
  table["Answer"].append("no_answer_calculated")
155
  table["Probabilities"].append("P(p|q): {}".format(round(probs[i],5)))
156
- print(table)
 
 
157
  df = pd.DataFrame(table)
 
158
  print("time: "+ str(time.time()-start))
159
 
160
  with open("HISTORY.txt","a", encoding = "utf-8") as f:
 
153
  table["Passage"].append(passage)
154
  table["Answer"].append("no_answer_calculated")
155
  table["Probabilities"].append("P(p|q): {}".format(round(probs[i],5)))
156
+
157
+
158
+
159
  df = pd.DataFrame(table)
160
+ print(df)
161
  print("time: "+ str(time.time()-start))
162
 
163
  with open("HISTORY.txt","a", encoding = "utf-8") as f: