Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -172,7 +172,7 @@ def create_mock_questions():
|
|
172 |
|
173 |
|
174 |
def print_coso(scritta: str):
|
175 |
-
|
176 |
|
177 |
|
178 |
|
@@ -273,7 +273,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
273 |
try:
|
274 |
|
275 |
|
276 |
-
|
277 |
response = requests.post(submit_url, json=submission_data, timeout=60)
|
278 |
response.raise_for_status()
|
279 |
result_data = response.json()
|
@@ -289,8 +289,8 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
289 |
|
290 |
print(f"coso final_status: {final_status} - results_df: {results_df}")
|
291 |
return final_status, results_df
|
292 |
-
|
293 |
-
|
294 |
|
295 |
|
296 |
except requests.exceptions.HTTPError as e:
|
|
|
172 |
|
173 |
|
174 |
def print_coso(scritta: str):
|
175 |
+
print(f"coso {scritta}")
|
176 |
|
177 |
|
178 |
|
|
|
273 |
try:
|
274 |
|
275 |
|
276 |
+
'''
|
277 |
response = requests.post(submit_url, json=submission_data, timeout=60)
|
278 |
response.raise_for_status()
|
279 |
result_data = response.json()
|
|
|
289 |
|
290 |
print(f"coso final_status: {final_status} - results_df: {results_df}")
|
291 |
return final_status, results_df
|
292 |
+
'''
|
293 |
+
return "mock1", None
|
294 |
|
295 |
|
296 |
except requests.exceptions.HTTPError as e:
|