PirateXX commited on
Commit
e82d88e
·
1 Parent(s): 4685354

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -57,7 +57,8 @@ def findRealProb(text):
57
  for prob, length in results:
58
  ans = ans + prob*length
59
  realProb = ans/len(text)
60
- return {"Real": realProb, "Fake": 1-realProb}, results
 
61
 
62
  demo = gr.Interface(
63
  fn=findRealProb,
 
57
  for prob, length in results:
58
  ans = ans + prob*length
59
  realProb = ans/len(text)
60
+ print(results)
61
+ return {"Real": realProb, "Fake": 1-realProb}
62
 
63
  demo = gr.Interface(
64
  fn=findRealProb,