GattoNero commited on
Commit
1445ce8
·
verified ·
1 Parent(s): fc798ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -172,7 +172,7 @@ def create_mock_questions():
172
 
173
 
174
  def print_coso(scritta: str):
175
- return f"coso {scritta}"
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
- #return "mock1", "mock2"
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: