Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,6 @@ def provide_detailed_advice(data):
|
|
39 |
|
40 |
# Function to fetch health articles using the GROC API
|
41 |
def get_health_articles(query, api_key):
|
42 |
-
api_key = "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"
|
43 |
url = f"https://api.groc.com/search?q={query}"
|
44 |
headers = {"Authorization": f"Bearer {api_key}"}
|
45 |
|
|
|
39 |
|
40 |
# Function to fetch health articles using the GROC API
|
41 |
def get_health_articles(query, api_key):
|
|
|
42 |
url = f"https://api.groc.com/search?q={query}"
|
43 |
headers = {"Authorization": f"Bearer {api_key}"}
|
44 |
|