Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -52,7 +52,7 @@ def process_text(input_text):
|
|
| 52 |
return ''
|
| 53 |
def find_plagiarism(text):
|
| 54 |
search_results=[]
|
| 55 |
-
if len(text)>
|
| 56 |
search_results = search(text)
|
| 57 |
if 'items' not in search_results:
|
| 58 |
return []
|
|
|
|
| 52 |
return ''
|
| 53 |
def find_plagiarism(text):
|
| 54 |
search_results=[]
|
| 55 |
+
if len(text)>300:
|
| 56 |
search_results = search(text)
|
| 57 |
if 'items' not in search_results:
|
| 58 |
return []
|