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