Yaz Hobooti commited on
Commit
465c0bc
·
1 Parent(s): 4c18fba

Fix theme error: remove invalid input_text_color parameter

Browse files

- Removed input_text_color and input_text_color_dark parameters
- These are not supported by Gradio theme system
- Kept all other valid theme parameters for visual design
- Fixes TypeError: Base.set() got an unexpected keyword argument

Files changed (1) hide show
  1. pdf_comparator.py +0 -2
pdf_comparator.py CHANGED
@@ -1130,8 +1130,6 @@ def create_demo():
1130
  block_label_text_color_dark="#000000",
1131
  block_title_text_color="#000000", # Black text for titles
1132
  block_title_text_color_dark="#000000",
1133
- input_text_color="#000000", # Black input text
1134
- input_text_color_dark="#000000",
1135
  button_text_color="#FFFFFF", # White text on buttons for contrast
1136
  button_text_color_dark="#FFFFFF",
1137
  )
 
1130
  block_label_text_color_dark="#000000",
1131
  block_title_text_color="#000000", # Black text for titles
1132
  block_title_text_color_dark="#000000",
 
 
1133
  button_text_color="#FFFFFF", # White text on buttons for contrast
1134
  button_text_color_dark="#FFFFFF",
1135
  )