rsdmu commited on
Commit
6f6514d
·
verified ·
1 Parent(s): 61272e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -121,8 +121,8 @@ with gr.Blocks() as demo:
121
  label1_score = gr.Number(
122
  label="Label 1 Score",
123
  interactive=False,
124
- precision=2,
125
- placeholder="0.0"
126
  )
127
  with gr.Row():
128
  label2_name = gr.Textbox(
@@ -133,8 +133,8 @@ with gr.Blocks() as demo:
133
  label2_score = gr.Number(
134
  label="Label 2 Score",
135
  interactive=False,
136
- precision=2,
137
- placeholder="0.0"
138
  )
139
  with gr.Row():
140
  label3_name = gr.Textbox(
@@ -145,8 +145,8 @@ with gr.Blocks() as demo:
145
  label3_score = gr.Number(
146
  label="Label 3 Score",
147
  interactive=False,
148
- precision=2,
149
- placeholder="0.0"
150
  )
151
 
152
  # Define the callback function for the button
 
121
  label1_score = gr.Number(
122
  label="Label 1 Score",
123
  interactive=False,
124
+ precision=2
125
+ # Removed placeholder
126
  )
127
  with gr.Row():
128
  label2_name = gr.Textbox(
 
133
  label2_score = gr.Number(
134
  label="Label 2 Score",
135
  interactive=False,
136
+ precision=2
137
+ # Removed placeholder
138
  )
139
  with gr.Row():
140
  label3_name = gr.Textbox(
 
145
  label3_score = gr.Number(
146
  label="Label 3 Score",
147
  interactive=False,
148
+ precision=2
149
+ # Removed placeholder
150
  )
151
 
152
  # Define the callback function for the button