Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -62,10 +62,15 @@ with gr.Blocks() as demo:
|
|
62 |
b2 = gr.Button("Next Rows")
|
63 |
|
64 |
with gr.Row():
|
65 |
-
out_dataframe = gr.Dataframe(initial_dataframe, wrap=True, max_rows=LINES_NUMBER, overflow_row_behaviour="paginate",
|
66 |
-
|
67 |
-
|
68 |
-
|
|
|
|
|
|
|
|
|
|
|
69 |
|
70 |
|
71 |
b1.click(fn=display_df, outputs=out_dataframe, api_name="initial_dataframe")
|
|
|
62 |
b2 = gr.Button("Next Rows")
|
63 |
|
64 |
with gr.Row():
|
65 |
+
# out_dataframe = gr.Dataframe(initial_dataframe, wrap=True, max_rows=LINES_NUMBER, overflow_row_behaviour="paginate",
|
66 |
+
# interactive=False,
|
67 |
+
# datatype=["markdown", "str", "str", "str", "bool",
|
68 |
+
# "bool", "bool", "str", "str", "str"])
|
69 |
+
out_dataframe = gr.Dataframe(initial_dataframe, wrap=True, row_count=LINES_NUMBER,
|
70 |
+
interactive=False,
|
71 |
+
datatype=["markdown", "str", "str", "str", "bool",
|
72 |
+
"bool", "bool", "str", "str", "str"])
|
73 |
+
|
74 |
|
75 |
|
76 |
b1.click(fn=display_df, outputs=out_dataframe, api_name="initial_dataframe")
|