nadim71 commited on
Commit
7bfe759
·
verified ·
1 Parent(s): 2d04808

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -219,7 +219,7 @@ if __name__ == "__main__":
219
  questions_data = response.json()
220
  if not questions_data:
221
  print("Fetched questions list is empty.")
222
- return "Fetched questions list is empty or invalid format.", None
223
  print(f"Fetched {len(questions_data)} questions.")
224
  except requests.exceptions.RequestException as e:
225
  print(f"Error fetching questions: {e}")
 
219
  questions_data = response.json()
220
  if not questions_data:
221
  print("Fetched questions list is empty.")
222
+ return "Fetched questions list is empty or invalid format.", None
223
  print(f"Fetched {len(questions_data)} questions.")
224
  except requests.exceptions.RequestException as e:
225
  print(f"Error fetching questions: {e}")