Spaces:
Sleeping
Sleeping
Update app.py
Browse files738 unmodified lines739740741742743744745738 unmodified linesresponse = requests.get(questions_url, timeout=15)response.raise_for_status()questions_data = response.json()questions_data = questions_data[:8]if not questions_data:print("Fetched questions list is empty.")return "Fetched questions list is empty or invalid format.", None738 unmodified lines739740741742743744745738 unmodified linesresponse = requests.get(questions_url, timeout=15)response.raise_for_status()questions_data = response.json()if not questions_data:print("Fetched questions list is empty.")return "Fetched questions list is empty or invalid format.", None
app.py+1-1