Spaces:
Sleeping
Sleeping
Commit
·
8472fb4
1
Parent(s):
3f2f31e
Improve help text
Browse files
app.py
CHANGED
@@ -101,7 +101,9 @@ def get_papers(
|
|
101 |
if already_claimed.get(False):
|
102 |
results = (
|
103 |
"# Papers already indexed by Hugging Face which you haven't claimed\n"
|
104 |
-
+ "These papers are already indexed by Hugging Face, but you haven't
|
|
|
|
|
105 |
)
|
106 |
for paper in already_claimed[False]:
|
107 |
url = f"https://huggingface.co/papers/{paper['id']}"
|
@@ -124,13 +126,18 @@ def get_name(hf_user_name: Optional[gr.OAuthProfile] = None):
|
|
124 |
|
125 |
with gr.Blocks() as demo:
|
126 |
gr.HTML(
|
127 |
-
"<h1 style='text-align:center;'> 📃 Hugging Face Paper Claimer 📃
|
|
|
128 |
)
|
129 |
gr.HTML(
|
130 |
-
"<div style='text-align:center;'>You can use this Space to help you find arXiv papers you can still claim
|
|
|
131 |
)
|
132 |
gr.Markdown(
|
133 |
-
"**NOTE** This Space uses the [Semantic Scholar
|
|
|
|
|
|
|
134 |
)
|
135 |
with gr.Row():
|
136 |
gr.LoginButton(size="sm")
|
|
|
101 |
if already_claimed.get(False):
|
102 |
results = (
|
103 |
"# Papers already indexed by Hugging Face which you haven't claimed\n"
|
104 |
+
+ "These papers are already indexed by Hugging Face, but you haven't"
|
105 |
+
" claimed them yet. You can claim them by clicking on the link and then"
|
106 |
+
" clicking on the 'Claim' button on the Hugging Face papers page.\n"
|
107 |
)
|
108 |
for paper in already_claimed[False]:
|
109 |
url = f"https://huggingface.co/papers/{paper['id']}"
|
|
|
126 |
|
127 |
with gr.Blocks() as demo:
|
128 |
gr.HTML(
|
129 |
+
"<h1 style='text-align:center;'> 📃 Hugging Face Paper Claimer 📃"
|
130 |
+
" </h1>"
|
131 |
)
|
132 |
gr.HTML(
|
133 |
+
"""<div style='text-align:center;'>You can use this Space to help you find arXiv papers you can still claim.
|
134 |
+
You need to be logged in to use this Space. Logging in will pre-populate your publication name based on the name in your Hugging Face profile but you can change this if you publish under a different name. </div>"""
|
135 |
)
|
136 |
gr.Markdown(
|
137 |
+
"**NOTE** This Space uses the [Semantic Scholar"
|
138 |
+
" API](https://www.semanticscholar.org/product/api) to find papers you have"
|
139 |
+
" authored. Occasionaly this API returns false positives i.e. papers which you"
|
140 |
+
" did not author"
|
141 |
)
|
142 |
with gr.Row():
|
143 |
gr.LoginButton(size="sm")
|