Makima57 commited on
Commit
81f0c5f
Β·
verified Β·
1 Parent(s): 5b32090

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -19
app.py CHANGED
@@ -134,32 +134,17 @@ custom_css = """
134
  color: #333;
135
  border-radius: 8px;
136
  padding: 12px;
137
- font-weight: bold; /* Apply bold */
138
- }
139
- #results {
140
- font-family: 'Courier New', Courier, monospace;
141
- background-color: #f3f4f6;
142
- color: #005f99;
143
- font-size: 16px;
144
- padding: 10px;
145
- border-radius: 8px;
146
- }
147
- /* Make the JSON {} icon smaller */
148
- .gr-output-json .json-key {
149
- font-size: 20px !important;
150
- }
151
- .gr-output-json .json-key img {
152
- width: 20px !important;
153
- height: 20px !important;
154
  }
 
155
  """
156
 
157
  # Gradio app setup
158
  interface = gr.Interface(
159
  fn=gradio_interface,
160
  inputs=[
161
- gr.Textbox(label="🧠 Math Question", placeholder="Enter your math question here...", elem_id="math_question", elem_classes="bold-label"),
162
- gr.Textbox(label="βœ… Correct Answer", placeholder="Enter the correct answer here...", elem_id="correct_answer", elem_classes="bold-label"),
163
  ],
164
  outputs=[
165
  gr.JSON(label="πŸ“Š Results"), # Display the results in a JSON format
 
134
  color: #333;
135
  border-radius: 8px;
136
  padding: 12px;
137
+ font-weight: 500px; /* Apply bold */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
138
  }
139
+
140
  """
141
 
142
  # Gradio app setup
143
  interface = gr.Interface(
144
  fn=gradio_interface,
145
  inputs=[
146
+ gr.Textbox(label="🧠 Math Question", placeholder="Enter your math question here...", elem_id="math_question"),
147
+ gr.Textbox(label="βœ… Correct Answer", placeholder="Enter the correct answer here...", elem_id="correct_answer"),
148
  ],
149
  outputs=[
150
  gr.JSON(label="πŸ“Š Results"), # Display the results in a JSON format