PirateXX commited on
Commit
a457538
·
verified ·
1 Parent(s): 7946f5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -62,6 +62,7 @@ def predict(query):
62
  def findRealProb(text):
63
  chunksOfText = (chunks_of_900(text))
64
  results = []
 
65
  for chunk in chunksOfText:
66
  output = predict(chunk)
67
  results.append([output, len(chunk)])
 
62
  def findRealProb(text):
63
  chunksOfText = (chunks_of_900(text))
64
  results = []
65
+ return {"Real": 0, "Fake": 1}, results
66
  for chunk in chunksOfText:
67
  output = predict(chunk)
68
  results.append([output, len(chunk)])