Spaces:
Runtime error
Runtime error
seawolf2357
commited on
Commit
•
8dc1f6e
1
Parent(s):
31011f4
Update app.py
Browse files
app.py
CHANGED
@@ -166,9 +166,9 @@ with gr.Blocks() as demo:
|
|
166 |
gr.Markdown("# Comparison of LLM (Large Language Model) Costs Based on One Million Tokens")
|
167 |
|
168 |
with gr.Row():
|
169 |
-
column = gr.Dropdown(choices=df.columns.tolist(), label="
|
170 |
-
ascending = gr.Checkbox(label="
|
171 |
-
sort_button = gr.Button("
|
172 |
|
173 |
table = gr.Dataframe(value=df, interactive=True, headers=["Provider", "URI", "Model", "**Total Price**", "Input Price", "Output Price"])
|
174 |
|
|
|
166 |
gr.Markdown("# Comparison of LLM (Large Language Model) Costs Based on One Million Tokens")
|
167 |
|
168 |
with gr.Row():
|
169 |
+
column = gr.Dropdown(choices=df.columns.tolist(), label="Select column to sort")
|
170 |
+
ascending = gr.Checkbox(label="ascending order", value=True)
|
171 |
+
sort_button = gr.Button("Sort")
|
172 |
|
173 |
table = gr.Dataframe(value=df, interactive=True, headers=["Provider", "URI", "Model", "**Total Price**", "Input Price", "Output Price"])
|
174 |
|