Owos commited on
Commit
8379262
·
1 Parent(s): 44e54d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -68,7 +68,7 @@ if uploaded_file is not None:
68
  buf = BytesIO()
69
  result.save(buf, format="png")
70
  if len(os.listdir('generated_sampples')) <= 10:
71
- result.save(f"generated_sampples/{str(len(os.listdir('generated_sampples'))}.png")
72
  byte_im = buf.getvalue()
73
  run =st.download_button(label="Download Image", data=byte_im, file_name='afrodreams.jpg', mime="image/png")
74
  #keeping the current style by update the weight
 
68
  buf = BytesIO()
69
  result.save(buf, format="png")
70
  if len(os.listdir('generated_sampples')) <= 10:
71
+ result.save(f"generated_sampples/{str(len(os.listdir('generated_sampples')))}.png")
72
  byte_im = buf.getvalue()
73
  run =st.download_button(label="Download Image", data=byte_im, file_name='afrodreams.jpg', mime="image/png")
74
  #keeping the current style by update the weight