Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,10 +6,7 @@ from urllib.parse import quote
|
|
6 |
@st.cache_resource
|
7 |
def display_glossary_entity(k):
|
8 |
search_urls = {
|
9 |
-
"🚀🌌ArXiv": lambda k: f"/?
|
10 |
-
"🃏Analyst": lambda k: f"/?q={quote(k)}-{quote(PromptPrefix)}",
|
11 |
-
"📚PyCoder": lambda k: f"/?q={quote(k)}-{quote(PromptPrefix2)}",
|
12 |
-
"🔬JSCoder": lambda k: f"/?q={quote(k)}-{quote(PromptPrefix3)}",
|
13 |
"📖Wiki": lambda k: f"https://en.wikipedia.org/wiki/{quote(k)}",
|
14 |
"🔍Google": lambda k: f"https://www.google.com/search?q={quote(k)}",
|
15 |
"🔎Bing": lambda k: f"https://www.bing.com/search?q={quote(k)}",
|
|
|
6 |
@st.cache_resource
|
7 |
def display_glossary_entity(k):
|
8 |
search_urls = {
|
9 |
+
"🚀🌌ArXiv": lambda k: f"https://arxiv.org/search/?query={quote(k)}&searchtype=all&source=header",
|
|
|
|
|
|
|
10 |
"📖Wiki": lambda k: f"https://en.wikipedia.org/wiki/{quote(k)}",
|
11 |
"🔍Google": lambda k: f"https://www.google.com/search?q={quote(k)}",
|
12 |
"🔎Bing": lambda k: f"https://www.bing.com/search?q={quote(k)}",
|