Spaces:
Sleeping
Sleeping
dev: more logging
Browse files
app.py
CHANGED
|
@@ -142,8 +142,10 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 142 |
|
| 143 |
if question_file_name:
|
| 144 |
file_url = files_url.format(api_url, task_id)
|
| 145 |
-
|
| 146 |
-
|
|
|
|
|
|
|
| 147 |
|
| 148 |
found= False
|
| 149 |
metadata = {}
|
|
|
|
| 142 |
|
| 143 |
if question_file_name:
|
| 144 |
file_url = files_url.format(api_url, task_id)
|
| 145 |
+
print("file_url: ", file_url )
|
| 146 |
+
file_response = requests.get(file_url, timeout=15)
|
| 147 |
+
file_response.raise_for_status()
|
| 148 |
+
print("file_response: ", file_response.json())
|
| 149 |
|
| 150 |
found= False
|
| 151 |
metadata = {}
|