Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -128,6 +128,8 @@ current_time_and_date = get_current_time_and_date()
|
|
| 128 |
# return "<p>Failed to fetch local events</p>"
|
| 129 |
|
| 130 |
def fetch_local_events():
|
|
|
|
|
|
|
| 131 |
api_key = os.environ['SERP_API']
|
| 132 |
url = f'https://serpapi.com/search.json?engine=google_events&q=Events+in+Birmingham&hl=en&gl=us&api_key={api_key}'
|
| 133 |
response = requests.get(url)
|
|
@@ -141,10 +143,9 @@ def fetch_local_events():
|
|
| 141 |
color: #333;
|
| 142 |
border-collapse: collapse;
|
| 143 |
width: 100%;
|
| 144 |
-
border: 1px solid #fff;
|
| 145 |
}
|
| 146 |
th, td {
|
| 147 |
-
border: 1px solid #fff;
|
| 148 |
padding: 8px;
|
| 149 |
}
|
| 150 |
th {
|
|
|
|
| 128 |
# return "<p>Failed to fetch local events</p>"
|
| 129 |
|
| 130 |
def fetch_local_events():
|
| 131 |
+
|
| 132 |
+
|
| 133 |
api_key = os.environ['SERP_API']
|
| 134 |
url = f'https://serpapi.com/search.json?engine=google_events&q=Events+in+Birmingham&hl=en&gl=us&api_key={api_key}'
|
| 135 |
response = requests.get(url)
|
|
|
|
| 143 |
color: #333;
|
| 144 |
border-collapse: collapse;
|
| 145 |
width: 100%;
|
|
|
|
| 146 |
}
|
| 147 |
th, td {
|
| 148 |
+
border: 1px solid #fff !important;
|
| 149 |
padding: 8px;
|
| 150 |
}
|
| 151 |
th {
|