Owos commited on
Commit
6f83f12
1 Parent(s): 5f6d8bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -74,7 +74,7 @@ if uploaded_file is not None:
74
  buf = BytesIO()
75
  result.save(buf, format="png")
76
  if len(os.listdir('generated_samples')) <= 10:
77
- img_file_name = f"generated_samples/{str(len(os.listdir('generated_samples')))}.png"
78
 
79
  _ = huggingface_hub.upload_file(path_or_fileobj = 'out.png',
80
  path_in_repo ="remote/" + img_file_name,
 
74
  buf = BytesIO()
75
  result.save(buf, format="png")
76
  if len(os.listdir('generated_samples')) <= 10:
77
+ img_file_name = f"generated_samples/{str(len(os.listdir('generated_samples')))}.png"
78
 
79
  _ = huggingface_hub.upload_file(path_or_fileobj = 'out.png',
80
  path_in_repo ="remote/" + img_file_name,