Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -60,11 +60,8 @@ def predict(query):
|
|
| 60 |
return real
|
| 61 |
|
| 62 |
def findRealProb(text):
|
| 63 |
-
print(text);
|
| 64 |
chunksOfText = (chunks_of_900(text))
|
| 65 |
-
print("After chunks")
|
| 66 |
results = []
|
| 67 |
-
return {"Real":"Something"};
|
| 68 |
for chunk in chunksOfText:
|
| 69 |
output = predict(chunk)
|
| 70 |
results.append([output, len(chunk)])
|
|
|
|
| 60 |
return real
|
| 61 |
|
| 62 |
def findRealProb(text):
|
|
|
|
| 63 |
chunksOfText = (chunks_of_900(text))
|
|
|
|
| 64 |
results = []
|
|
|
|
| 65 |
for chunk in chunksOfText:
|
| 66 |
output = predict(chunk)
|
| 67 |
results.append([output, len(chunk)])
|