VictorSanh commited on
Commit
56d6ab9
1 Parent(s): add0018

Update app_dialogue.py

Browse files
Files changed (1) hide show
  1. app_dialogue.py +2 -2
app_dialogue.py CHANGED
@@ -62,7 +62,7 @@ BAN_TOKENS = ( # For documentation puporse. We are not using this list, it is h
62
  EOS_STRINGS = ["<end_of_utterance>", "\nUser:"]
63
  STOP_SUSPECT_LIST = []
64
 
65
- GRADIO_LINK = "https://huggingfacem4-idefics-playground.hf.space"
66
  API_TOKEN = os.getenv("HF_AUTH_TOKEN")
67
  IDEFICS_LOGO = "https://huggingface.co/spaces/HuggingFaceM4/idefics_playground/resolve/main/IDEFICS_logo.png"
68
 
@@ -867,7 +867,7 @@ with gr.Blocks(title="IDEFICS Playground", theme=gr.themes.Base()) as demo:
867
  inputs=[textbox, imagebox],
868
  outputs=[textbox, imagebox, chatbot],
869
  fn=process_example,
870
- cache_examples=True,
871
  examples_per_page=6,
872
  label=(
873
  "Click on any example below to get started.\nFor convenience, the model generations have been"
 
62
  EOS_STRINGS = ["<end_of_utterance>", "\nUser:"]
63
  STOP_SUSPECT_LIST = []
64
 
65
+ GRADIO_LINK = "https://victorsanh-meme-it.hf.space"
66
  API_TOKEN = os.getenv("HF_AUTH_TOKEN")
67
  IDEFICS_LOGO = "https://huggingface.co/spaces/HuggingFaceM4/idefics_playground/resolve/main/IDEFICS_logo.png"
68
 
 
867
  inputs=[textbox, imagebox],
868
  outputs=[textbox, imagebox, chatbot],
869
  fn=process_example,
870
+ cache_examples=False,
871
  examples_per_page=6,
872
  label=(
873
  "Click on any example below to get started.\nFor convenience, the model generations have been"