awacke1 commited on
Commit
9370ac7
·
verified ·
1 Parent(s): 79d4ab7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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(k)} {PromptPrefix}", # this url plus query!
517
- "📚": lambda k: f"https://huggingface.co/spaces/awacke1/GraphicAINovel?q={quote(k)} {PromptPrefix2}", # this url plus query!
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