Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -133,7 +133,7 @@ def hotel_recommendation_tool(city: str,price: str): str
|
|
| 133 |
|
| 134 |
if(price!="-"):
|
| 135 |
response=ur.request.urlopen('https://foursquare.com/explore?mode=url&near='+city+'&price='+price+'&q=Resturant')
|
| 136 |
-
|
| 137 |
response=ur.request.urlopen('https://foursquare.com/explore?mode=url&near='+city+'&q=Resturant')
|
| 138 |
html=response.read()
|
| 139 |
soup=BeautifulSoup(html,'html.parser')
|
|
|
|
| 133 |
|
| 134 |
if(price!="-"):
|
| 135 |
response=ur.request.urlopen('https://foursquare.com/explore?mode=url&near='+city+'&price='+price+'&q=Resturant')
|
| 136 |
+
else:
|
| 137 |
response=ur.request.urlopen('https://foursquare.com/explore?mode=url&near='+city+'&q=Resturant')
|
| 138 |
html=response.read()
|
| 139 |
soup=BeautifulSoup(html,'html.parser')
|