Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ CITATION_BIB_TEXT = """
|
|
17 |
def fetch_readme_content():
|
18 |
try:
|
19 |
url = "https://raw.githubusercontent.com/SAILResearch/awesome-foundation-model-leaderboards/main/README.md"
|
20 |
-
response = requests.get(url, timeout=
|
21 |
response.raise_for_status() # Raises HTTPError for bad responses
|
22 |
return response.text
|
23 |
except requests.exceptions.RequestException as e:
|
|
|
17 |
def fetch_readme_content():
|
18 |
try:
|
19 |
url = "https://raw.githubusercontent.com/SAILResearch/awesome-foundation-model-leaderboards/main/README.md"
|
20 |
+
response = requests.get(url, timeout=30)
|
21 |
response.raise_for_status() # Raises HTTPError for bad responses
|
22 |
return response.text
|
23 |
except requests.exceptions.RequestException as e:
|