Leyo commited on
Commit
96c47f6
1 Parent(s): 9b576ce
Files changed (1) hide show
  1. app_dialogue.py +4 -4
app_dialogue.py CHANGED
@@ -76,10 +76,10 @@ PROCESSOR = AutoProcessor.from_pretrained(
76
 
77
  BOT_AVATAR = "IDEFICS_logo.png"
78
  IMAGE_GALLERY_PATHS = [
79
- f"example_images/{image_dir}/{ex_image}"
80
- for image_dir in os.listdir("example_images")
81
- for ex_image in os.listdir(f"example_images/{image_dir}")
82
- ]
83
  random.shuffle(IMAGE_GALLERY_PATHS)
84
  logging.basicConfig(level=logging.INFO)
85
  logger = logging.getLogger()
 
76
 
77
  BOT_AVATAR = "IDEFICS_logo.png"
78
  IMAGE_GALLERY_PATHS = [
79
+ f"example_images/{image_dir}/{ex_image}"
80
+ for image_dir in os.listdir("example_images")
81
+ for ex_image in os.listdir(f"example_images/{image_dir}")
82
+ ]
83
  random.shuffle(IMAGE_GALLERY_PATHS)
84
  logging.basicConfig(level=logging.INFO)
85
  logger = logging.getLogger()