PirateXX commited on
Commit
386c521
·
1 Parent(s): 2cf8c8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ def findRealProb(text):
65
  return {"Real": realProb, "Fake": 1-realProb}, results
66
 
67
  demo = gr.Interface(
68
- fn=findRealProb,
69
  inputs=gr.Textbox(placeholder="Copy and paste here..."),
70
  article = "Visit <a href = \"https://ai-content-detector.online/\">AI Content Detector</a> for better user experience!",
71
  outputs=gr.outputs.JSON(),
 
65
  return {"Real": realProb, "Fake": 1-realProb}, results
66
 
67
  demo = gr.Interface(
68
+ fn=[findRealProb, predict],
69
  inputs=gr.Textbox(placeholder="Copy and paste here..."),
70
  article = "Visit <a href = \"https://ai-content-detector.online/\">AI Content Detector</a> for better user experience!",
71
  outputs=gr.outputs.JSON(),