Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,8 @@ with gr.Blocks() as interface:
|
|
66 |
with gr.Row():
|
67 |
with gr.Column():
|
68 |
input_box1 = gr.Number(
|
69 |
-
|
|
|
70 |
)
|
71 |
with gr.Column():
|
72 |
output_box1 = gr.HTML(
|
@@ -129,9 +130,12 @@ body {
|
|
129 |
h1, h3, p {
|
130 |
animation: fadeIn 3s ease-out;
|
131 |
}
|
132 |
-
|
|
|
|
|
133 |
display: none; /* Hide the label */
|
134 |
}
|
|
|
135 |
@keyframes bounce {
|
136 |
0%, 100% {
|
137 |
transform: translateY(0);
|
|
|
66 |
with gr.Row():
|
67 |
with gr.Column():
|
68 |
input_box1 = gr.Number(
|
69 |
+
label="🎲 Enter First Number", # Adding the label back
|
70 |
+
elem_id="input-box1"
|
71 |
)
|
72 |
with gr.Column():
|
73 |
output_box1 = gr.HTML(
|
|
|
130 |
h1, h3, p {
|
131 |
animation: fadeIn 3s ease-out;
|
132 |
}
|
133 |
+
|
134 |
+
/* Hide label text only */
|
135 |
+
#input-box1 .gradio-label {
|
136 |
display: none; /* Hide the label */
|
137 |
}
|
138 |
+
|
139 |
@keyframes bounce {
|
140 |
0%, 100% {
|
141 |
transform: translateY(0);
|