Spaces:
Sleeping
Sleeping
Update api.py
Browse files
api.py
CHANGED
|
@@ -160,7 +160,7 @@ def extract_google_patents(patent_number: str, node_type: str = "Patent"):
|
|
| 160 |
"""
|
| 161 |
# Initialize a dictionary with default error messages for consistency.
|
| 162 |
patent_data = {
|
| 163 |
-
"
|
| 164 |
"title": "Error fetching content or content not found",
|
| 165 |
"description": "Error fetching content or content not found",
|
| 166 |
"claim": "Error fetching content or content not found",
|
|
|
|
| 160 |
"""
|
| 161 |
# Initialize a dictionary with default error messages for consistency.
|
| 162 |
patent_data = {
|
| 163 |
+
"number": f"{patent_number}",
|
| 164 |
"title": "Error fetching content or content not found",
|
| 165 |
"description": "Error fetching content or content not found",
|
| 166 |
"claim": "Error fetching content or content not found",
|