Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -63,11 +63,11 @@ with gr.Blocks(theme=theme) as demo:
|
|
| 63 |
# 2x2 Grid for a compact, modern MCQ layout
|
| 64 |
with gr.Row():
|
| 65 |
# setting max_lines=1 ensures these stay as single-line, non-scrollable input fields
|
| 66 |
-
answer_a_input = gr.Textbox(placeholder="Answer A", lines=1, max_lines=1)
|
| 67 |
-
answer_b_input = gr.Textbox(placeholder="Answer B", lines=1, max_lines=1)
|
| 68 |
with gr.Row():
|
| 69 |
-
answer_c_input = gr.Textbox(placeholder="Answer C", lines=1, max_lines=1)
|
| 70 |
-
answer_d_input = gr.Textbox(placeholder="Answer D", lines=1, max_lines=1)
|
| 71 |
|
| 72 |
# A larger, more prominent button
|
| 73 |
get_answer_button = gr.Button("✨ Predict Answer", variant="primary", size="lg")
|
|
|
|
| 63 |
# 2x2 Grid for a compact, modern MCQ layout
|
| 64 |
with gr.Row():
|
| 65 |
# setting max_lines=1 ensures these stay as single-line, non-scrollable input fields
|
| 66 |
+
answer_a_input = gr.Textbox(label = "", placeholder="Answer A", lines=1, max_lines=1)
|
| 67 |
+
answer_b_input = gr.Textbox(label = "", placeholder="Answer B", lines=1, max_lines=1)
|
| 68 |
with gr.Row():
|
| 69 |
+
answer_c_input = gr.Textbox(label = "", placeholder="Answer C", lines=1, max_lines=1)
|
| 70 |
+
answer_d_input = gr.Textbox(label = "", placeholder="Answer D", lines=1, max_lines=1)
|
| 71 |
|
| 72 |
# A larger, more prominent button
|
| 73 |
get_answer_button = gr.Button("✨ Predict Answer", variant="primary", size="lg")
|