gabejavitt commited on
Commit
51f88a8
·
verified ·
1 Parent(s): f89da35

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1570,7 +1570,7 @@ def run_and_submit_all(profile: gr.OAuthProfile | None):
1570
  local_file_path = filename
1571
 
1572
  with open(local_file_path, 'wb') as f:
1573
- for chunk in response.iter_content(chunk_size=8192):
1574
  f.write(chunk)
1575
 
1576
  file_size = os.path.getsize(local_file_path)
 
1570
  local_file_path = filename
1571
 
1572
  with open(local_file_path, 'wb') as f:
1573
+ for chunk in file_response.iter_content(chunk_size=8192):
1574
  f.write(chunk)
1575
 
1576
  file_size = os.path.getsize(local_file_path)