maahikachitagi commited on
Commit
5eb9bd6
·
verified ·
1 Parent(s): 241b049

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -202,7 +202,7 @@ with gr.Blocks(css="""
202
  border:none;
203
  justify-content: center;
204
  width: 40%;
205
- color: rgb(85, 85, 85) !important;
206
 
207
 
208
  }
@@ -273,8 +273,8 @@ font-size: 0px !important;
273
  padding: 0px !important;
274
  border-radius: 0px !important;
275
  border: none !important;
276
- background-color: black !important;
277
- color: rgb(250, 253, 255) !important;
278
  transition: none !important;
279
 
280
  }
@@ -369,8 +369,8 @@ transition: none !important;
369
  audio_btn.click(handle_audio, inputs=[audio_input, chat_history, user_profile], outputs=[chatbot_audio], queue=False, )
370
 
371
  with gr.Tab("Webcam Mode"):
372
- img_upload = gr.Image(type="pil", label="Upload an Image")
373
- posture_output = gr.Textbox(label="Posture Feedback")
374
  posture_btn = gr.Button("Analyze Posture")
375
  posture_btn.click(classify_image, inputs=[img_upload], outputs=[posture_output])
376
 
 
202
  border:none;
203
  justify-content: center;
204
  width: 40%;
205
+ color: #fafdff !important;
206
 
207
 
208
  }
 
273
  padding: 0px !important;
274
  border-radius: 0px !important;
275
  border: none !important;
276
+ background-color: #27272a !important;
277
+ color: #fafdff !important;
278
  transition: none !important;
279
 
280
  }
 
369
  audio_btn.click(handle_audio, inputs=[audio_input, chat_history, user_profile], outputs=[chatbot_audio], queue=False, )
370
 
371
  with gr.Tab("Webcam Mode"):
372
+ img_upload = gr.Image(type="pil", label="Upload an Image", elem_classes=["bruh"])
373
+ posture_output = gr.Textbox(label="Posture Feedback", elem_classes=["bruh"])
374
  posture_btn = gr.Button("Analyze Posture")
375
  posture_btn.click(classify_image, inputs=[img_upload], outputs=[posture_output])
376