Spaces:
Sleeping
Sleeping
update
Browse files
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 |
-
|
| 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:
|