Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ with gr.Blocks() as demo:
|
|
25 |
b2 = gr.Button("Next 100 Images and Prompts")
|
26 |
|
27 |
with gr.Row():
|
28 |
-
out_dataframe = gr.Dataframe(wrap=True, max_rows=100, overflow_row_behaviour= "paginate", datatype = ["markdown", "markdown"])
|
29 |
|
30 |
b1.click(fn=display_df, outputs=out_dataframe)
|
31 |
b2.click(fn=display_next100, inputs= [out_dataframe, num_end ], outputs=[out_dataframe, num_end])
|
|
|
25 |
b2 = gr.Button("Next 100 Images and Prompts")
|
26 |
|
27 |
with gr.Row():
|
28 |
+
out_dataframe = gr.Dataframe(wrap=True, max_rows=100, overflow_row_behaviour= "paginate", datatype = ["markdown", "markdown"], headers=['url', 'prompt'])
|
29 |
|
30 |
b1.click(fn=display_df, outputs=out_dataframe)
|
31 |
b2.click(fn=display_next100, inputs= [out_dataframe, num_end ], outputs=[out_dataframe, num_end])
|