dennis111 commited on
Commit
28aec0f
·
1 Parent(s): db29fc7
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -98,8 +98,8 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
98
  # 2. Fetch Questions
99
  print(f"Fetching questions from: {questions_url}")
100
  try:
101
- response = requests.get(questions_url, timeout=15)
102
- #response = requests.get("https://agents-course-unit4-scoring.hf.space/questions", timeout=20)
103
  response.raise_for_status()
104
  questions_data = response.json()
105
  #with open('data.json', 'r') as json_file:
 
98
  # 2. Fetch Questions
99
  print(f"Fetching questions from: {questions_url}")
100
  try:
101
+ #response = requests.get(questions_url, timeout=15)
102
+ response = requests.get("https://agents-course-unit4-scoring.hf.space/questions", timeout=20)
103
  response.raise_for_status()
104
  questions_data = response.json()
105
  #with open('data.json', 'r') as json_file: