ysharma HF Staff commited on
Commit
cccc076
·
1 Parent(s): 43ac3bb

Update app_dialogue.py

Browse files
Files changed (1) hide show
  1. app_dialogue.py +3 -0
app_dialogue.py CHANGED
@@ -68,6 +68,8 @@ PROCESSOR = AutoProcessor.from_pretrained(
68
  token=API_TOKEN,
69
  )
70
 
 
 
71
  logging.basicConfig(level=logging.INFO)
72
  logger = logging.getLogger()
73
 
@@ -410,6 +412,7 @@ with gr.Blocks(title="IDEFICS Playground", theme=gr.themes.Base()) as demo:
410
  label="IDEFICS",
411
  visible=True,
412
  height=750,
 
413
  # value=[
414
  # [
415
  # (
 
68
  token=API_TOKEN,
69
  )
70
 
71
+ BOT_AVATAR = "idefics_720.png"
72
+
73
  logging.basicConfig(level=logging.INFO)
74
  logger = logging.getLogger()
75
 
 
412
  label="IDEFICS",
413
  visible=True,
414
  height=750,
415
+ avatar_images=[None, BOT_AVATAR],
416
  # value=[
417
  # [
418
  # (