Spaces:
Sleeping
Sleeping
Kevin Maik Jablonka
commited on
Commit
·
7b4983c
1
Parent(s):
638348e
start point
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def update_index(direction, current_index, output_text):
|
|
31 |
|
32 |
with gr.Blocks() as demo:
|
33 |
gr.Markdown("# Navigate through the contents of different files")
|
34 |
-
output_text = gr.Textbox(label="File Content", value=data[
|
35 |
btn_previous = gr.Button(value="Previous")
|
36 |
btn_next = gr.Button(value="Next")
|
37 |
btn_random = gr.Button(value="Random index")
|
|
|
31 |
|
32 |
with gr.Blocks() as demo:
|
33 |
gr.Markdown("# Navigate through the contents of different files")
|
34 |
+
output_text = gr.Textbox(label="File Content", value=data[1], show_copy_button=True)
|
35 |
btn_previous = gr.Button(value="Previous")
|
36 |
btn_next = gr.Button(value="Next")
|
37 |
btn_random = gr.Button(value="Random index")
|