Spaces:
Runtime error
Runtime error
Update app.py
Browse files58 unmodified lines5960616263646558 unmodified linestry:response = requests.get(questions_url, timeout=15)response.raise_for_status()questions_data = response.json()[:1]if not questions_data:print("Fetched questions list is empty.")return "Fetched questions list is empty or invalid format.", None58 unmodified lines5960616263646558 unmodified linestry:response = 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