Spaces:
Running
Running
Commit
·
adf4200
1
Parent(s):
d4225f7
Slider fix
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ with gr.Blocks(theme=gr.themes.Glass()) as demo:
|
|
24 |
page_num = gr.Markdown("## No Input Provided")
|
25 |
else:
|
26 |
page_count = get_pdf_page_count(pdf_path)
|
27 |
-
page_num = gr.Slider(1, page_count, value=1, step=1, label="Page"
|
28 |
|
29 |
with gr.Row():
|
30 |
clear_btn = gr.ClearButton(components=[pdf, page_num])
|
|
|
24 |
page_num = gr.Markdown("## No Input Provided")
|
25 |
else:
|
26 |
page_count = get_pdf_page_count(pdf_path)
|
27 |
+
page_num = gr.Slider(1, page_count, value=1, step=1, label="Page Number")
|
28 |
|
29 |
with gr.Row():
|
30 |
clear_btn = gr.ClearButton(components=[pdf, page_num])
|