Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -513,8 +513,8 @@ def display_glossary_grid(roleplaying_glossary):
|
|
513 |
"▶️": lambda k: f"https://www.youtube.com/results?search_query={quote(k)}",
|
514 |
"🔎": lambda k: f"https://www.bing.com/search?q={quote(k)}",
|
515 |
"🎲": lambda k: f"https://huggingface.co/spaces/awacke1/GraphicAINovel?q={quote(k)}", # this url plus query!
|
516 |
-
"🃏": lambda k: f"https://huggingface.co/spaces/awacke1/GraphicAINovel?q={quote(
|
517 |
-
"📚": lambda k: f"https://huggingface.co/spaces/awacke1/GraphicAINovel?q={quote(
|
518 |
|
519 |
}
|
520 |
|
|
|
513 |
"▶️": lambda k: f"https://www.youtube.com/results?search_query={quote(k)}",
|
514 |
"🔎": lambda k: f"https://www.bing.com/search?q={quote(k)}",
|
515 |
"🎲": lambda k: f"https://huggingface.co/spaces/awacke1/GraphicAINovel?q={quote(k)}", # this url plus query!
|
516 |
+
"🃏": lambda k: f"https://huggingface.co/spaces/awacke1/GraphicAINovel?q={quote(PromptPrefix)}{quote(k)}", # this url plus query!
|
517 |
+
"📚": lambda k: f"https://huggingface.co/spaces/awacke1/GraphicAINovel?q={quote(PromptPrefix2)}", # this url plus query!
|
518 |
|
519 |
}
|
520 |
|