renderfy commited on
Commit
13b8579
·
verified ·
1 Parent(s): 81942cb

Upload streamlit_app.py

Browse files
Files changed (1) hide show
  1. streamlit_app.py +3 -3
streamlit_app.py CHANGED
@@ -400,11 +400,11 @@ show_tile_card_display_download(
400
  filename_stub="gallery", key_prefix="pre"
401
  )
402
 
403
- comp_bytes = gallery_bytes
404
  show_tile_card_display_download(
405
  col_comp, "AI Configurated",
406
- display_bytes=comp_bytes,
407
- download_bytes=comp_bytes,
408
  filename_stub="ai_configurated", key_prefix="pre"
409
  )
410
 
 
400
  filename_stub="gallery", key_prefix="pre"
401
  )
402
 
403
+ conf_bytes = demo_files.get("model.jpg") or input_bytes
404
  show_tile_card_display_download(
405
  col_comp, "AI Configurated",
406
+ display_bytes=conf_bytes,
407
+ download_bytes=conf_bytes,
408
  filename_stub="ai_configurated", key_prefix="pre"
409
  )
410