Merge pull request #1 from ZnDream/cc-pr-zndream
Update D2-property-rental-assistant notebooks
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
"}\n",
|
"}\n",
|
||||||
"\n",
|
"\n",
|
||||||
"class Website:\n",
|
"class Website:\n",
|
||||||
" def __init__(self, url): # ✅ Corrected init\n",
|
" def __init__(self, url):\n",
|
||||||
" self.url = url\n",
|
" self.url = url\n",
|
||||||
" try:\n",
|
" try:\n",
|
||||||
" response = requests.get(url, headers=headers, timeout=10)\n",
|
" response = requests.get(url, headers=headers, timeout=10)\n",
|
||||||
@@ -163,7 +163,7 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"if __name__ == \"__main__\": # Fixed: Changed **name** to __name__\n",
|
"if __name__ == \"__main__\": \n",
|
||||||
" print(\"Starting AI Property Rental Assistant...\")\n",
|
" print(\"Starting AI Property Rental Assistant...\")\n",
|
||||||
" print(\"=\" * 50)\n",
|
" print(\"=\" * 50)\n",
|
||||||
" \n",
|
" \n",
|
||||||
|
|||||||
Reference in New Issue
Block a user