throaway2854
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -363,12 +363,12 @@ with gr.Blocks() as demo:
|
|
363 |
)
|
364 |
|
365 |
# Dataset Viewer and Pagination Controls at the Bottom
|
366 |
-
with gr.Column():
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
|
373 |
def change_page(action, current_page_number, datasets, current_dataset_name):
|
374 |
if not current_dataset_name:
|
|
|
363 |
)
|
364 |
|
365 |
# Dataset Viewer and Pagination Controls at the Bottom
|
366 |
+
with gr.Column():
|
367 |
+
gr.Markdown("### Dataset Viewer")
|
368 |
+
dataset_viewer = gr.HTML() # Use dataset_viewer instead of dataset_html
|
369 |
+
with gr.Row():
|
370 |
+
prev_button = gr.Button("Previous Page")
|
371 |
+
next_button = gr.Button("Next Page")
|
372 |
|
373 |
def change_page(action, current_page_number, datasets, current_dataset_name):
|
374 |
if not current_dataset_name:
|