Spaces:
Running
Running
Commit
•
86703cf
1
Parent(s):
aa72610
Fix m4 locations
Browse files- 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://
|
66 |
API_TOKEN = os.getenv("HF_AUTH_TOKEN")
|
67 |
IDEFICS_LOGO = "https://huggingface.co/spaces/HuggingFaceM4/idefics_playground/resolve/main/IDEFICS_logo.png"
|
68 |
|
@@ -152,7 +152,7 @@ for image_dir in os.listdir("example_images"):
|
|
152 |
tmp_filename = H.preprocess(H.value)
|
153 |
DEFAULT_IMAGES_TMP_PATH_TO_URL[
|
154 |
tmp_filename
|
155 |
-
] = f"https://huggingface.co/spaces/
|
156 |
|
157 |
|
158 |
# Utils to handle the image markdown display logic
|
|
|
62 |
EOS_STRINGS = ["<end_of_utterance>", "\nUser:"]
|
63 |
STOP_SUSPECT_LIST = []
|
64 |
|
65 |
+
GRADIO_LINK = "https://huggingfacem4-ai-meme-generator.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 |
|
|
|
152 |
tmp_filename = H.preprocess(H.value)
|
153 |
DEFAULT_IMAGES_TMP_PATH_TO_URL[
|
154 |
tmp_filename
|
155 |
+
] = f"https://huggingface.co/spaces/HuggingFaceM4/AI_Meme_Generator/resolve/main/example_images/{image_dir}/{im_path}"
|
156 |
|
157 |
|
158 |
# Utils to handle the image markdown display logic
|