Spaces:
Sleeping
Sleeping
Commit
·
77dac02
1
Parent(s):
f3c8907
chore: Add dataset progress viewer to the app page
Browse files
app.py
CHANGED
@@ -186,6 +186,14 @@ with gr.Blocks(theme=tufte_theme) as demo:
|
|
186 |
gr.Markdown(f"""<p style='text-align: center;'>{short_description}</p>""")
|
187 |
with gr.Accordion("More information", open=False):
|
188 |
gr.Markdown(full_description)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
with gr.Row():
|
190 |
login_btn = gr.LoginButton(size="sm")
|
191 |
gr.Markdown(
|
@@ -235,14 +243,6 @@ with gr.Blocks(theme=tufte_theme) as demo:
|
|
235 |
],
|
236 |
outputs=[vote_output, voting_row],
|
237 |
)
|
238 |
-
with gr.Accordion("View Dataset Progress...", open=False):
|
239 |
-
gr.Markdown("Below is the progress of the dataset so far!")
|
240 |
-
gr.HTML("""<iframe
|
241 |
-
src="https://huggingface.co/datasets/davanstrien/summer-reading-preference/embed/viewer"
|
242 |
-
frameborder="0"
|
243 |
-
width="100%"
|
244 |
-
height="560px"
|
245 |
-
></iframe>""")
|
246 |
|
247 |
|
248 |
if __name__ == "__main__":
|
|
|
186 |
gr.Markdown(f"""<p style='text-align: center;'>{short_description}</p>""")
|
187 |
with gr.Accordion("More information", open=False):
|
188 |
gr.Markdown(full_description)
|
189 |
+
with gr.Accordion("View Dataset Progress...", open=False):
|
190 |
+
gr.Markdown("Below is the progress of the dataset so far!")
|
191 |
+
gr.HTML("""<iframe
|
192 |
+
src="https://huggingface.co/datasets/davanstrien/summer-reading-preference/embed/viewer"
|
193 |
+
frameborder="0"
|
194 |
+
width="100%"
|
195 |
+
height="560px"
|
196 |
+
></iframe>""")
|
197 |
with gr.Row():
|
198 |
login_btn = gr.LoginButton(size="sm")
|
199 |
gr.Markdown(
|
|
|
243 |
],
|
244 |
outputs=[vote_output, voting_row],
|
245 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
246 |
|
247 |
|
248 |
if __name__ == "__main__":
|