Create an application to find and display nearby restaurants.
Here is a sample application that will help users find and display nearby restaurants:

```python
from flask import Flask, request, render_template
import requests

app = Flask(__name__)

@app.route('/', methods=['GET', 'POST'])
def index():
    if request.method == 'POST':
        location = request.form.get('location')
        radius = request.form.get('radius')
        url = f'https://maps.googleapis.com/maps/api/place/nearbysearch/json'
        params = {
            'location': location,
            'radius': radius,
            'type': 'restaurant',
            'key': 'YOUR_API_KEY'
        }
        response = requests.get(url, params=params).json()
        restaurants = response['results']
        return render_template('index.html', restaurants=restaurants)
    return render_template('index.html')

if __name__ == '__main__':
    app.run()
```

This application uses the Flask web framework and the Google Places API to fetch nearby restaurants for a given location and radius. Users can input their current location and desired search radius, and the application will display a list of restaurants in the specified area.

To use this application, you will need to replace 'YOUR_API_KEY' with a valid API key from the Google Cloud Console. Additionally, you may wish to customize the HTML templates used to display the restaurant data to the user.
Below is an instruction that describes a task, write a response that appropriately completes the request.

### Instruction:
Create an application to find and display nearby restaurants.

### Response:
Here is a sample application that will help users find and display nearby restaurants:

```python
from flask import Flask, request, render_template
import requests

app = Flask(__name__)

@app.route('/', methods=['GET', 'POST'])
def index():
    if request.method == 'POST':
        location = request.form.get('location')
        radius = request.form.get('radius')
        url = f'https://maps.googleapis.com/maps/api/place/nearbysearch/json'
        params = {
            'location': location,
            'radius': radius,
            'type': 'restaurant',
            'key': 'YOUR_API_KEY'
        }
        response = requests.get(url, params=params).json()
        restaurants = response['results']
        return render_template('index.html', restaurants=restaurants)
    return render_template('index.html')

if __name__ == '__main__':
    app.run()
```

This application uses the Flask web framework and the Google Places API to fetch nearby restaurants for a given location and radius. Users can input their current location and desired search radius, and the application will display a list of restaurants in the specified area.

To use this application, you will need to replace 'YOUR_API_KEY' with a valid API key from the Google Cloud Console. Additionally, you may wish to customize the HTML templates used to display the restaurant data to the user.