Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ def findRealProb(text):
|
|
| 51 |
results = []
|
| 52 |
for chunk in chunksOfText:
|
| 53 |
output = predict(chunk)
|
| 54 |
-
results.append([output, len(
|
| 55 |
|
| 56 |
ans = 0
|
| 57 |
for prob, length in results:
|
|
|
|
| 51 |
results = []
|
| 52 |
for chunk in chunksOfText:
|
| 53 |
output = predict(chunk)
|
| 54 |
+
results.append([output, len(chunk)])
|
| 55 |
|
| 56 |
ans = 0
|
| 57 |
for prob, length in results:
|