Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ def crawURL(url):
|
|
73 |
|
74 |
except Exception as e:
|
75 |
print(f"Failed to crawl page: {url}, Error: {str(e)}")
|
76 |
-
return
|
77 |
|
78 |
# Predict for text category by Models
|
79 |
def process_api(text):
|
|
|
73 |
|
74 |
except Exception as e:
|
75 |
print(f"Failed to crawl page: {url}, Error: {str(e)}")
|
76 |
+
return None
|
77 |
|
78 |
# Predict for text category by Models
|
79 |
def process_api(text):
|