Update app.py
Browse files
app.py
CHANGED
@@ -138,10 +138,10 @@ def display_glossary_grid(roleplaying_glossary):
|
|
138 |
"βΆοΈ": lambda k: f"https://www.youtube.com/results?search_query={quote(k)}",
|
139 |
"π": lambda k: f"https://www.bing.com/search?q={quote(k)}",
|
140 |
"π¦": lambda k: f"https://twitter.com/search?q={quote(k)}",
|
141 |
-
"π²": lambda k: f"https://huggingface.co/spaces/awacke1/
|
142 |
-
"π": lambda k: f"https://huggingface.co/spaces/awacke1/
|
143 |
-
"π": lambda k: f"https://huggingface.co/spaces/awacke1/
|
144 |
-
"π¬": lambda k: f"https://huggingface.co/spaces/awacke1/
|
145 |
}
|
146 |
|
147 |
for category, details in roleplaying_glossary.items():
|
@@ -163,10 +163,10 @@ def display_glossary_entity(k):
|
|
163 |
"βΆοΈ": lambda k: f"https://www.youtube.com/results?search_query={quote(k)}",
|
164 |
"π": lambda k: f"https://www.bing.com/search?q={quote(k)}",
|
165 |
"π¦": lambda k: f"https://twitter.com/search?q={quote(k)}",
|
166 |
-
"π²": lambda k: f"https://huggingface.co/spaces/awacke1/
|
167 |
-
"π": lambda k: f"https://huggingface.co/spaces/awacke1/
|
168 |
-
"π": lambda k: f"https://huggingface.co/spaces/awacke1/
|
169 |
-
"π¬": lambda k: f"https://huggingface.co/spaces/awacke1/
|
170 |
}
|
171 |
links_md = ' '.join([f"[{emoji}]({url(k)})" for emoji, url in search_urls.items()])
|
172 |
st.markdown(f"{k} {links_md}", unsafe_allow_html=True)
|
|
|
138 |
"βΆοΈ": lambda k: f"https://www.youtube.com/results?search_query={quote(k)}",
|
139 |
"π": lambda k: f"https://www.bing.com/search?q={quote(k)}",
|
140 |
"π¦": lambda k: f"https://twitter.com/search?q={quote(k)}",
|
141 |
+
"π²": lambda k: f"https://huggingface.co/spaces/awacke1/Arxiv-Paper-Search-QA-RAG-Streamlit-Gradio-API?q={quote(k)}", # this url plus query!
|
142 |
+
"π": lambda k: f"https://huggingface.co/spaces/awacke1/Arxiv-Paper-Search-QA-RAG-Streamlit-Gradio-API?q={quote(k)}-{quote(PromptPrefix)}", # this url plus query!
|
143 |
+
"π": lambda k: f"https://huggingface.co/spaces/awacke1/Arxiv-Paper-Search-QA-RAG-Streamlit-Gradio-API?q={quote(k)}-{quote(PromptPrefix2)}", # this url plus query!
|
144 |
+
"π¬": lambda k: f"https://huggingface.co/spaces/awacke1/Arxiv-Paper-Search-QA-RAG-Streamlit-Gradio-API?q={quote(k)}-{quote(PromptPrefix3)}", # this url plus query!
|
145 |
}
|
146 |
|
147 |
for category, details in roleplaying_glossary.items():
|
|
|
163 |
"βΆοΈ": lambda k: f"https://www.youtube.com/results?search_query={quote(k)}",
|
164 |
"π": lambda k: f"https://www.bing.com/search?q={quote(k)}",
|
165 |
"π¦": lambda k: f"https://twitter.com/search?q={quote(k)}",
|
166 |
+
"π²": lambda k: f"https://huggingface.co/spaces/awacke1/Arxiv-Paper-Search-QA-RAG-Streamlit-Gradio-API?q={quote(k)}", # this url plus query!
|
167 |
+
"π": lambda k: f"https://huggingface.co/spaces/awacke1/Arxiv-Paper-Search-QA-RAG-Streamlit-Gradio-API?q={quote(k)}-{quote(PromptPrefix)}", # this url plus query!
|
168 |
+
"π": lambda k: f"https://huggingface.co/spaces/awacke1/Arxiv-Paper-Search-QA-RAG-Streamlit-Gradio-API?q={quote(k)}-{quote(PromptPrefix2)}", # this url plus query!
|
169 |
+
"π¬": lambda k: f"https://huggingface.co/spaces/awacke1/Arxiv-Paper-Search-QA-RAG-Streamlit-Gradio-API?q={quote(k)}-{quote(PromptPrefix3)}", # this url plus query!
|
170 |
}
|
171 |
links_md = ' '.join([f"[{emoji}]({url(k)})" for emoji, url in search_urls.items()])
|
172 |
st.markdown(f"{k} {links_md}", unsafe_allow_html=True)
|