mikethor007 commited on
Commit
c422f5d
·
verified ·
1 Parent(s): 7956c84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -665,7 +665,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
665
  try:
666
  error_json = e.response.json()
667
  error_detail += f" Detail: {error_json.get('detail', e.response.text)}"
668
- except requests.exceptions.JSONDecodeError:
669
  error_detail += f" Response: {e.response.text[:500]}"
670
  status_message = f"Submission Failed: {error_detail}"
671
  print(status_message)
 
665
  try:
666
  error_json = e.response.json()
667
  error_detail += f" Detail: {error_json.get('detail', e.response.text)}"
668
+ except requests.exceptions.JSONDecodeError:
669
  error_detail += f" Response: {e.response.text[:500]}"
670
  status_message = f"Submission Failed: {error_detail}"
671
  print(status_message)