Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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(),
|