Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -119,7 +119,6 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
119 |
overflow_row_behaviour='paginate',
|
120 |
scale=1
|
121 |
)
|
122 |
-
l_btn = gr.Button(value="Model A is better",scale=1)
|
123 |
with gr.Column(scale=1):
|
124 |
r_output = gr.Dataframe(
|
125 |
headers=['No.', 'Score', 'Name', 'Title', 'Link', 'Date'],
|
@@ -132,6 +131,8 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
132 |
overflow_row_behaviour='paginate',
|
133 |
scale=1
|
134 |
)
|
|
|
|
|
135 |
r_btn = gr.Button(value="Model B is better",scale=1)
|
136 |
|
137 |
action_btn.click(fn=get_comp,
|
|
|
119 |
overflow_row_behaviour='paginate',
|
120 |
scale=1
|
121 |
)
|
|
|
122 |
with gr.Column(scale=1):
|
123 |
r_output = gr.Dataframe(
|
124 |
headers=['No.', 'Score', 'Name', 'Title', 'Link', 'Date'],
|
|
|
131 |
overflow_row_behaviour='paginate',
|
132 |
scale=1
|
133 |
)
|
134 |
+
with gr.Row().style(equal_height=True):
|
135 |
+
l_btn = gr.Button(value="Model A is better",scale=1)
|
136 |
r_btn = gr.Button(value="Model B is better",scale=1)
|
137 |
|
138 |
action_btn.click(fn=get_comp,
|