Spaces:
Sleeping
Sleeping
Mihai Băluță-Cujbă
commited on
Commit
·
c878863
1
Parent(s):
542a8a3
Fix Dataframe header property in Gradio UI for consistency
Browse files
app.py
CHANGED
|
@@ -321,7 +321,7 @@ with gr.Blocks(title="Code Review Quality Analyzer", theme=theme) as demo:
|
|
| 321 |
summary_output = gr.Markdown(label="Classification Summary")
|
| 322 |
with gr.Row():
|
| 323 |
type_output = gr.Dataframe(
|
| 324 |
-
|
| 325 |
label="Feedback Type Confidence",
|
| 326 |
datatype=["str", "str"],
|
| 327 |
interactive=False,
|
|
@@ -330,7 +330,7 @@ with gr.Blocks(title="Code Review Quality Analyzer", theme=theme) as demo:
|
|
| 330 |
value=[],
|
| 331 |
)
|
| 332 |
sentiment_output = gr.Dataframe(
|
| 333 |
-
|
| 334 |
label="Sentiment Confidence",
|
| 335 |
datatype=["str", "str"],
|
| 336 |
interactive=False,
|
|
|
|
| 321 |
summary_output = gr.Markdown(label="Classification Summary")
|
| 322 |
with gr.Row():
|
| 323 |
type_output = gr.Dataframe(
|
| 324 |
+
headers=["Label", "Confidence"],
|
| 325 |
label="Feedback Type Confidence",
|
| 326 |
datatype=["str", "str"],
|
| 327 |
interactive=False,
|
|
|
|
| 330 |
value=[],
|
| 331 |
)
|
| 332 |
sentiment_output = gr.Dataframe(
|
| 333 |
+
headers=["Label", "Confidence"],
|
| 334 |
label="Sentiment Confidence",
|
| 335 |
datatype=["str", "str"],
|
| 336 |
interactive=False,
|