PirateXX commited on
Commit
d4227b7
·
verified ·
1 Parent(s): fa2ae63

Update app.py

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