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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ 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, "probs": 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
+ return {"Real": realProb, "Fake": 1-realProb}, results
61
 
62
  demo = gr.Interface(
63
  fn=findRealProb,