PirateXX commited on
Commit
7fa2da8
1 Parent(s): 8db0e68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -91,7 +91,7 @@ def findRealProb(data):
91
  label = "Human"
92
  elif realProb > 0.3 and realProb < 0.7:
93
  label = "Might be AI"
94
- return ({"Real": realProb, "Fake": 1-realProb, "Label": label, "Chunks": results})
95
 
96
  demo = gr.Interface(
97
  fn=findRealProb,
 
91
  label = "Human"
92
  elif realProb > 0.3 and realProb < 0.7:
93
  label = "Might be AI"
94
+ return ({"Human": realProb, "AI": 1-realProb, "Label": label, "Chunks": results})
95
 
96
  demo = gr.Interface(
97
  fn=findRealProb,